mirror of
https://github.com/vgough/encfs.git
synced 2025-02-16 17:50:53 +01:00
check for libintl when NLS is used
This commit is contained in:
parent
aa8b5370ac
commit
4443e99e35
@ -123,6 +123,11 @@ include_directories (${CMAKE_SOURCE_DIR})
|
|||||||
|
|
||||||
# Translations
|
# Translations
|
||||||
if (ENABLE_NLS)
|
if (ENABLE_NLS)
|
||||||
|
find_package (Intl)
|
||||||
|
if (Intl_FOUND)
|
||||||
|
include_directories (${Intl_INCLUDE_DIRS})
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(po)
|
add_subdirectory(po)
|
||||||
|
|
||||||
add_definitions(-DENABLE_NLS)
|
add_definitions(-DENABLE_NLS)
|
||||||
@ -168,6 +173,7 @@ target_link_libraries(encfs
|
|||||||
${OPENSSL_LIBRARIES}
|
${OPENSSL_LIBRARIES}
|
||||||
${TINYXML_LIBRARIES}
|
${TINYXML_LIBRARIES}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
${Intl_LIBRARIES}
|
||||||
)
|
)
|
||||||
if (INSTALL_LIBENCFS)
|
if (INSTALL_LIBENCFS)
|
||||||
install (TARGETS encfs DESTINATION lib)
|
install (TARGETS encfs DESTINATION lib)
|
||||||
|
Loading…
Reference in New Issue
Block a user