Skip to content

Commit

Permalink
CMake: Fix installing cmake files in mingw
Browse files Browse the repository at this point in the history
mingw follows unix-like directories.
  • Loading branch information
Biswa96 authored and FrancescAlted committed Aug 18, 2023
1 parent 42ec0a7 commit 5a7adf4
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 @@ -474,7 +474,7 @@ if(BLOSC_INSTALL)
if(CMAKE_INSTALL_CMAKEDIR)
set(Blosc2_INSTALL_CMAKEDIR "${CMAKE_INSTALL_CMAKEDIR}/Blosc2")
else()
if(WIN32)
if(WIN32 AND NOT MINGW)
set(Blosc2_INSTALL_CMAKEDIR "cmake")
else()
set(Blosc2_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/Blosc2")
Expand Down

0 comments on commit 5a7adf4

Please sign in to comment.