Skip to content

Commit

Permalink
Cygwin, set proper installation prefix, but don't force (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben RUBSON authored Apr 25, 2018
1 parent cc256a6 commit c3340c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ if (NOT DEFINED LIB_INSTALL_DIR)
endif ()

if (CYGWIN)
set (CMAKE_INSTALL_PREFIX /usr)
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set (CMAKE_INSTALL_PREFIX /usr)
endif()
endif()

# We need C++ 11
Expand Down

0 comments on commit c3340c9

Please sign in to comment.