diff options
| author | Niels Ole Salscheider <niels_ole@salscheider-online.de> | 2017-09-04 11:40:23 +0200 |
|---|---|---|
| committer | Niels Ole Salscheider <niels_ole@salscheider-online.de> | 2017-09-04 20:16:31 +0200 |
| commit | 2a42d04764c8539822b077d8261088bfcaec7fb7 (patch) | |
| tree | 96517ace5840ca6ad4c110c2be5c497def8a62c8 /CMakeLists.txt | |
| parent | cc9fa522269581764c9abd401973d4d1c84e0ca1 (diff) | |
| download | qxmpp-2a42d04764c8539822b077d8261088bfcaec7fb7.tar.gz | |
Port docs to new build system
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e838121e..23aad844 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,8 @@ set(CMAKE_AUTORCC ON) include(GNUInstallDirs) option(BUILD_TESTS "Build tests." ON) +option(BUILD_DOCUMENTATION "Build API documentation." OFF) -#add_subdirectory(doc) add_subdirectory(src) #add_subdirectory(examples) @@ -26,6 +26,10 @@ if(BUILD_TESTS) add_subdirectory(tests) endif() +if(BUILD_DOCUMENTATION) + add_subdirectory(doc) +endif() + install( FILES QXmppConfig.cmake DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/qxmpp" |
