Skip to content

Commit

Permalink
Merge pull request #414 from antoniovazquezblanco/dev/cmake_dest_fix_2
Browse files Browse the repository at this point in the history
Treat MinGW CMake installation paths as Unix instead of MSYS
  • Loading branch information
guruofquality authored Apr 22, 2024
2 parents 6c96090 + f50be11 commit b5227a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ find_package(SoapySDR CONFIG REQUIRED)
# Install cmake helper modules
########################################################################
include(CMakePackageConfigHelpers)
if (UNIX OR MSYS)
if (UNIX OR MSYS OR MINGW)
set(CMAKE_LIB_DEST ${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME})
elseif (WIN32)
set(CMAKE_LIB_DEST cmake)
Expand Down

0 comments on commit b5227a9

Please # to comment.