summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 8a9ba2fd..798ec422 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -121,7 +121,7 @@ foreach(file ${info_files})
get_filename_component(file_base ${file} NAME_WE)
if (CMAKE_SOURCE_DIR STREQUAL BUILD_DIR)
- set(doc_dir CMAKE_CURRENT_SOURCE_DIR)
+ set(doc_dir ${CMAKE_CURRENT_SOURCE_DIR})
else()
get_filename_component(dir_base ${CMAKE_CURRENT_SOURCE_DIR} NAME_WE)
set(doc_dir "${CMAKE_SOURCE_DIR}/${BUILD_DIR}/${dir_base}")