Skip to content

Commit

Permalink
don't install libencfs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
vgough committed Sep 5, 2016
1 parent d3374a5 commit b3f04d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -165,7 +166,9 @@ target_link_libraries(encfs
${TINYXML_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)
install (TARGETS encfs DESTINATION lib)
if (INSTALL_LIBENCFS)
install (TARGETS encfs DESTINATION lib)
endif (INSTALL_LIBENCFS)

if (IWYU)
if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.2)
Expand Down

0 comments on commit b3f04d2

Please sign in to comment.