Move Handling of user manual to Modules directory
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
parent
268fbf3fb1
commit
f26df4f80a
@ -91,6 +91,7 @@ include(cmake/Modules/HandleFindLibDiveComputer.cmake)
|
||||
include(cmake/Modules/HandleFindMarble.cmake)
|
||||
include(cmake/Modules/HandleFindGrantlee.cmake)
|
||||
include(cmake/Modules/HandleFtdiSupport.cmake)
|
||||
include(cmake/Modules/HandleUserManual.cmake)
|
||||
include(cmake/Modules/HandleVersionGeneration.cmake)
|
||||
|
||||
pkg_config_library(LIBXML libxml-2.0 REQUIRED)
|
||||
@ -109,14 +110,6 @@ if(ANDROID)
|
||||
set(NO_PRINTING ON)
|
||||
endif()
|
||||
|
||||
if(NO_USERMANUAL)
|
||||
message(STATUS "building without usermanual")
|
||||
add_definitions(-DNO_USERMANUAL)
|
||||
else()
|
||||
set(WEBKIT_PKG WebKitWidgets)
|
||||
set(WEBKIT_LIB Qt5::WebKitWidgets)
|
||||
endif()
|
||||
|
||||
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} ${LIBDIVECOMPUTER_LIBRARIES} ${LIBGIT2_LIBRARIES} ${LIBUSB_LIBRARIES})
|
||||
|
||||
# configure Qt.
|
||||
|
||||
7
cmake/Modules/HandleUserManual.cmake
Normal file
7
cmake/Modules/HandleUserManual.cmake
Normal file
@ -0,0 +1,7 @@
|
||||
if(NO_USERMANUAL)
|
||||
message(STATUS "building without usermanual")
|
||||
add_definitions(-DNO_USERMANUAL)
|
||||
else()
|
||||
set(WEBKIT_PKG WebKitWidgets)
|
||||
set(WEBKIT_LIB Qt5::WebKitWidgets)
|
||||
endif()
|
||||
Loading…
x
Reference in New Issue
Block a user