Skip to content

Commit

Permalink
Treat MSYS CMake installation paths as Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovazquezblanco committed Jun 5, 2023
1 parent d2496c5 commit a10e468
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)
if (UNIX OR MSYS)
set(CMAKE_LIB_DEST ${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME})
elseif (WIN32)
set(CMAKE_LIB_DEST cmake)
Expand Down

0 comments on commit a10e468

Please sign in to comment.