summaryrefslogtreecommitdiffstats
path: root/libversion/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libversion/CMakeLists.txt')
-rw-r--r--libversion/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/libversion/CMakeLists.txt b/libversion/CMakeLists.txt
index 009c236..9bd87c3 100644
--- a/libversion/CMakeLists.txt
+++ b/libversion/CMakeLists.txt
@@ -1,16 +1,16 @@
# vim:ts=4:sw=4:expandtab:autoindent:
# setup information for doxygen version handling
-set(PRE_CONFIGURE_DOXYGEN_VERSION_FILE "${CMAKE_SOURCE_DIR}/libversion/doxyversion.cpp.in")
+set(PRE_CONFIGURE_DOXYGEN_VERSION_FILE "${PROJECT_SOURCE_DIR}/libversion/doxyversion.cpp.in")
set(POST_CONFIGURE_DOXYGEN_VERSION_FILE "${GENERATED_SRC}/doxyversion.cpp")
# setup information for git version handling
-set(PRE_CONFIGURE_GIT_VERSION_FILE "${CMAKE_SOURCE_DIR}/libversion/gitversion.cpp.in")
+set(PRE_CONFIGURE_GIT_VERSION_FILE "${PROJECT_SOURCE_DIR}/libversion/gitversion.cpp.in")
set(POST_CONFIGURE_GIT_VERSION_FILE "${GENERATED_SRC}/gitversion.cpp")
set(GIT_STATE_FILE "${GENERATED_SRC}/git_state")
-include(${CMAKE_SOURCE_DIR}/cmake/git_watcher.cmake)
-include(${CMAKE_SOURCE_DIR}/cmake/doxygen_version.cmake)
+include(${PROJECT_SOURCE_DIR}/cmake/git_watcher.cmake)
+include(${PROJECT_SOURCE_DIR}/cmake/doxygen_version.cmake)
include_directories(
.