mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 01:13:12 +01:00
don't install libencfs by default
This commit is contained in:
parent
d3374a515c
commit
b3f04d2fa5
@ -16,7 +16,8 @@ set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
|
||||
|
||||
option (BUILD_SHARED_LIBS "build shared libraries" OFF)
|
||||
option (USE_INTERNAL_TINYXML "use built-in TinyXML2" ON)
|
||||
option (ENABLE_NLS "Compile with Native Language Support (using gettext)" ON)
|
||||
option (ENABLE_NLS "compile with Native Language Support (using gettext)" ON)
|
||||
option (INSTALL_LIBENCFS "install libencfs" OFF)
|
||||
|
||||
# We need C++ 11
|
||||
if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.0)
|
||||
@ -165,7 +166,9 @@ target_link_libraries(encfs
|
||||
${TINYXML_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
)
|
||||
if (INSTALL_LIBENCFS)
|
||||
install (TARGETS encfs DESTINATION lib)
|
||||
endif (INSTALL_LIBENCFS)
|
||||
|
||||
if (IWYU)
|
||||
if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.2)
|
||||
|
Loading…
Reference in New Issue
Block a user