From 83b352bd0afe7f4b2fd3ef0cdaf8e582a468c77c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20V=C3=A1zquez=20Blanco?= Date: Mon, 5 Jun 2023 15:08:26 +0200 Subject: [PATCH 1/2] Treat MinGW CMake installation paths as Unix instead of MSYS --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cc839f9f..75a7b390 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,7 @@ find_package(SoapySDR CONFIG REQUIRED) # Install cmake helper modules ######################################################################## include(CMakePackageConfigHelpers) -if (UNIX OR MSYS) +if (UNIX OR MINGW) set(CMAKE_LIB_DEST ${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME}) elseif (WIN32) set(CMAKE_LIB_DEST cmake) From e474d2e33da1b88f27aa0f726dcd851731840060 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Mon, 22 Apr 2024 15:44:17 +0200 Subject: [PATCH 2/2] Treat MinGW and MSYS CMake installation paths as Unix --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75a7b390..df5c6d1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,7 @@ find_package(SoapySDR CONFIG REQUIRED) # Install cmake helper modules ######################################################################## include(CMakePackageConfigHelpers) -if (UNIX OR MINGW) +if (UNIX OR MSYS OR MINGW) set(CMAKE_LIB_DEST ${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME}) elseif (WIN32) set(CMAKE_LIB_DEST cmake)