Cygwin, set proper installation prefix, but don't force (#513)

This commit is contained in:
Ben RUBSON 2018-04-25 09:30:49 +02:00 committed by GitHub
parent cc256a657e
commit c3340c994a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,9 @@ if (NOT DEFINED LIB_INSTALL_DIR)
endif () endif ()
if (CYGWIN) if (CYGWIN)
set (CMAKE_INSTALL_PREFIX /usr) if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set (CMAKE_INSTALL_PREFIX /usr)
endif()
endif() endif()
# We need C++ 11 # We need C++ 11