diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-09-16 14:24:06 (GMT) |
---|---|---|
committer | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-09-16 17:36:33 (GMT) |
commit | e7311a036e16cf56692862103be37df95853a1dc (patch) | |
tree | b172cd4da67a5031b36d96523d4ff59358f432c4 /cmake/git_watcher.cmake | |
parent | 0fc06d657d596adcc289a5f228973ea268efd66d (diff) | |
download | Doxygen-e7311a036e16cf56692862103be37df95853a1dc.zip Doxygen-e7311a036e16cf56692862103be37df95853a1dc.tar.gz Doxygen-e7311a036e16cf56692862103be37df95853a1dc.tar.bz2 |
Allow building doxygen as a subproject
Diffstat (limited to 'cmake/git_watcher.cmake')
-rw-r--r-- | cmake/git_watcher.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/git_watcher.cmake b/cmake/git_watcher.cmake index ac34c1d..da1a68f 100644 --- a/cmake/git_watcher.cmake +++ b/cmake/git_watcher.cmake @@ -64,7 +64,7 @@ CHECK_REQUIRED_VARIABLE(PRE_CONFIGURE_GIT_VERSION_FILE) CHECK_REQUIRED_VARIABLE(POST_CONFIGURE_GIT_VERSION_FILE) CHECK_OPTIONAL_VARIABLE(GIT_STATE_FILE "${GENERATED_SRC}/git_state") #CHECK_REQUIRED_VARIABLE(GIT_STATE_FILE) -CHECK_OPTIONAL_VARIABLE(GIT_WORKING_DIR "${CMAKE_SOURCE_DIR}") +CHECK_OPTIONAL_VARIABLE(GIT_WORKING_DIR "${PROJECT_SOURCE_DIR}") # Check the optional git variable. # If it's not set, we'll try to find it using the CMake packaging system. |