diff --git a/CMakeLists.txt b/CMakeLists.txt index 6eee2df..cc6a0d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,10 @@ if (NOT DEFINED LIB_INSTALL_DIR) set (LIB_INSTALL_DIR lib) endif () +if (CYGWIN) + set (CMAKE_INSTALL_PREFIX /usr) +endif() + # We need C++ 11 if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.0) # CMake 3.1 has built-in CXX standard checks.