mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 15:33:16 +01:00
Cygwin, set proper installation prefix (#509)
Put binaries next to Cygwin DLLs, which is easier for the user running EncFS out of a Cygwin console.
This commit is contained in:
parent
df7403c256
commit
49cfb4cc8e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user