File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,13 @@ option(USE_FORTRAN "Build Fortran bindings" OFF)
25
25
option (USE_PYTHON "Build Python bindings" OFF )
26
26
option (EXTRA_WARNINGS "Set extra warning flags" OFF )
27
27
option (USE_WMAIN "(Windows only) take Unicode arguments in gemmi program" ON )
28
- set (GEMMI_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR} /cmake/gemmi" CACHE STRING
29
- "Install path for gemmi CMake files" )
28
+ if (WIN32 )
29
+ set (GEMMI_INSTALL_CMAKEDIR "cmake" CACHE STRING
30
+ "Install path for gemmi CMake files" )
31
+ else ()
32
+ set (GEMMI_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR} /cmake/gemmi" CACHE STRING
33
+ "Install path for gemmi CMake files" )
34
+ endif ()
30
35
option (STRIP_BINARY "Strip symbols from program" OFF )
31
36
32
37
# uncomment to show compilation times for each compilation unit
You can’t perform that action at this time.
0 commit comments