diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-27 00:23:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-27 00:23:17 +0900 |
commit | 91e64f3ebed4c3b48e553b5fb8fbc386c2ab917e (patch) | |
tree | 167b2ec34a31250437a25b4891012356db7204d4 /CMakeLists.txt | |
parent | f9c9e15267bd0319a8190ba146d7be95c37dac2e (diff) | |
download | dbus-1-tqt-91e64f3ebed4c3b48e553b5fb8fbc386c2ab917e.tar.gz dbus-1-tqt-91e64f3ebed4c3b48e553b5fb8fbc386c2ab917e.zip |
Added cmake configuration option for api dox location. This provides
flexibility when building for different distros, in case the location of
the api dox need to be different.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 880eec2..ec42952 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,11 @@ add_definitions( ${TQT_CFLAGS_OTHER} ) -set( APIDOX_HTML_DIRECTORY "usr/share/doc/libdbus-1-tqt/HTML" ) +if( CMAKE_APIDOX_HTML_DIRECTORY ) + set( APIDOX_HTML_DIRECTORY "${CMAKE_APIDOX_HTML_DIRECTORY}" ) +else() + set( APIDOX_HTML_DIRECTORY "usr/share/doc/libdbus-1-tqt/HTML" ) +endif() set( APIDOX_DIRECTORY "${CMAKE_BINARY_DIR}/${APIDOX_HTML_DIRECTORY}/en" ) |