diff options
author | Vo Trung Chi <chi.votrung@vn.bosch.com> | 2019-07-09 15:37:33 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-07-09 17:37:33 +0900 |
commit | b59d7946d4863b3b939e384ff2c14eacb69530ad (patch) | |
tree | d085666ae7195a2464e387ffc74f4c5c031644e4 /doc/doxygen.cfg.cmake | |
parent | 038da647b999c9f5183e8459e5d39b9450c1d078 (diff) | |
download | DLT-daemon-b59d7946d4863b3b939e384ff2c14eacb69530ad.tar.gz |
cmake: Allow build as a subproject (#145)
Use PROJECT_* instead of CMAKE_* to allow build as a subproject of another
cmake project.
Signed-off-by: Vo Trung Chi <Chi.VoTrung@vn.bosch.com>
Diffstat (limited to 'doc/doxygen.cfg.cmake')
-rw-r--r-- | doc/doxygen.cfg.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/doxygen.cfg.cmake b/doc/doxygen.cfg.cmake index 5c17864..c183c92 100644 --- a/doc/doxygen.cfg.cmake +++ b/doc/doxygen.cfg.cmake @@ -590,9 +590,9 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = @CMAKE_SOURCE_DIR@/doc/mainpage.h \ - @CMAKE_SOURCE_DIR@/src/ \ - @CMAKE_SOURCE_DIR@/include +INPUT = @PROJECT_SOURCE_DIR@/doc/mainpage.h \ + @PROJECT_SOURCE_DIR@/src/ \ + @PROJECT_SOURCE_DIR@/include # This tag can be used to specify the character encoding of the source files @@ -689,7 +689,7 @@ EXAMPLE_RECURSIVE = NO # directories that contain image that are included in the documentation (see # the \image command). -IMAGE_PATH = @CMAKE_SOURCE_DIR@/doc/images +IMAGE_PATH = @PROJECT_SOURCE_DIR@/doc/images # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program |