From: Moritz Bunkus Date: Thu, 19 Apr 2018 10:53:17 +0000 (+0200) Subject: cmake: fix setting CMAKE_INSTALL_PACKAGEDIR on non-Windows platforms X-Git-Tag: release-1.4.9~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab37f8241d6ce743499da4784b2060e9afaf4ca1;p=libmatroska cmake: fix setting CMAKE_INSTALL_PACKAGEDIR on non-Windows platforms --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 96b1137..2dbd533 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,7 @@ endif() if(NOT DISABLE_CMAKE_CONFIG) if(WIN32) set(CMAKE_INSTALL_PACKAGEDIR cmake) - elseif(WIN32) + else() set(CMAKE_INSTALL_PACKAGEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}) endif() include(CMakePackageConfigHelpers) diff --git a/cmake/MatroskaConfig.cmake b/cmake/MatroskaConfig.cmake deleted file mode 100644 index e9a88bd..0000000 --- a/cmake/MatroskaConfig.cmake +++ /dev/null @@ -1 +0,0 @@ -include(${CMAKE_CURRENT_LIST_DIR}/MatroskaTargets.cmake)