summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rwxr-xr-xdoc/doxygen.cfg.cmake6
2 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d55e82f..8d82891 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,7 +72,9 @@ set( LICENSE "Mozilla Public License Version 2.0" )
# Build, project and include settings
find_package(Threads REQUIRED)
-find_package(ZLIB REQUIRED)
+if(WITH_DLT_SYSTEM)
+ find_package(ZLIB REQUIRED)
+endif(WITH_DLT_SYSTEM)
find_package(PkgConfig)
if(WITH_DLT_DBUS)
diff --git a/doc/doxygen.cfg.cmake b/doc/doxygen.cfg.cmake
index 13eec96..d5f44d0 100755
--- a/doc/doxygen.cfg.cmake
+++ b/doc/doxygen.cfg.cmake
@@ -573,9 +573,9 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = ./../../doc/mainpage.h \
- ./../../src/ \
- ./../../include
+INPUT = @CMAKE_SOURCE_DIR@/doc/mainpage.h \
+ @CMAKE_SOURCE_DIR@/src/ \
+ @CMAKE_SOURCE_DIR@/include
# This tag can be used to specify the character encoding of the source files