Lines 12-24
Link Here
|
12 |
|
12 |
|
13 |
# Options |
13 |
# Options |
14 |
option(ENABLE_NLS "Enable translation of program messages" ON) |
14 |
option(ENABLE_NLS "Enable translation of program messages" ON) |
|
|
15 |
option(USE_DOXYGEN "Build docs via doxygen" OFF) |
15 |
option(USE_FIFO "Use Licq FIFO" ON) |
16 |
option(USE_FIFO "Use Licq FIFO" ON) |
16 |
option(USE_HEBREW "Include support for hebrew reverse string" OFF) |
17 |
option(USE_HEBREW "Include support for hebrew reverse string" OFF) |
17 |
option(USE_OPENSSL "Enable secure communication channels" ON) |
18 |
option(USE_OPENSSL "Enable secure communication channels" ON) |
18 |
option(USE_SOCKS5 "Enable socks5 support" OFF) |
19 |
option(USE_SOCKS5 "Enable socks5 support" OFF) |
19 |
option(BUILD_PLUGINS "Build all plugins" OFF) |
20 |
option(BUILD_PLUGINS "Build all plugins" OFF) |
20 |
option(BUILD_TESTS "Build all unit tests" ON) |
21 |
option(BUILD_TESTS "Build all unit tests" ON) |
21 |
|
|
|
22 |
set(DLOPEN_POLICY RTLD_NOW CACHE STRING "2nd dlopen parameter") |
22 |
set(DLOPEN_POLICY RTLD_NOW CACHE STRING "2nd dlopen parameter") |
23 |
mark_as_advanced(DLOPEN_POLICY) |
23 |
mark_as_advanced(DLOPEN_POLICY) |
24 |
|
24 |
|
Lines 142-148
Link Here
|
142 |
# Doxygen is option |
142 |
# Doxygen is option |
143 |
find_package(Doxygen) |
143 |
find_package(Doxygen) |
144 |
|
144 |
|
145 |
if (DOXYGEN_FOUND) |
145 |
if (USE_DOXYGEN) |
146 |
if (NOT DOXYGEN_DOT_FOUND) |
146 |
if (NOT DOXYGEN_DOT_FOUND) |
147 |
message(SEND_ERROR "Need the dot program to build documentation") |
147 |
message(SEND_ERROR "Need the dot program to build documentation") |
148 |
endif (NOT DOXYGEN_DOT_FOUND) |
148 |
endif (NOT DOXYGEN_DOT_FOUND) |
Lines 158-164
Link Here
|
158 |
DEPENDS ${DOXY_CONFIG} |
158 |
DEPENDS ${DOXY_CONFIG} |
159 |
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
159 |
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
160 |
COMMENT "Generating doxygen documentation" VERBATIM) |
160 |
COMMENT "Generating doxygen documentation" VERBATIM) |
161 |
endif (DOXYGEN_FOUND) |
161 |
endif (USE_DOXYGEN) |
162 |
|
162 |
|
163 |
# make uninstall (file added to top binary dir to work with build_all) |
163 |
# make uninstall (file added to top binary dir to work with build_all) |
164 |
configure_file( |
164 |
configure_file( |