mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +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)
|
set (LIB_INSTALL_DIR lib)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (CYGWIN)
|
||||||
|
set (CMAKE_INSTALL_PREFIX /usr)
|
||||||
|
endif()
|
||||||
|
|
||||||
# We need C++ 11
|
# We need C++ 11
|
||||||
if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.0)
|
if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.0)
|
||||||
# CMake 3.1 has built-in CXX standard checks.
|
# CMake 3.1 has built-in CXX standard checks.
|
||||||
|
Loading…
Reference in New Issue
Block a user