summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-12-15 00:12:57 +0000
committerPeter Powell <petpow@saberuk.com>2015-12-31 02:40:36 +0000
commitdd6688b9875bef4c3ce5e66fd19283ac931b72ea (patch)
tree8ef774f4e50e04a72994e1c737ca1dced14bb085 /docs
parent63f865dcacf459f65b75a4269288b3090b14f956 (diff)
Remove repeated expressions from CMake end*() and else() calls.
Diffstat (limited to 'docs')
-rw-r--r--docs/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index 082b1da0e..fd93e81c0 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -6,10 +6,10 @@ if(WIN32)
if(IN_SOURCE)
# Add README.txt to list of files for CPack to ignore
add_to_cpack_ignored_files("README.txt$" TRUE)
- endif(IN_SOURCE)
+ endif()
set(DOCS Changes Changes.conf DEFCON FAQ INSTALL LANGUAGE MODULES NEWS ${CMAKE_CURRENT_BINARY_DIR}/README.txt WIN32.txt)
install(FILES ${DOCS}
DESTINATION ${DOC_DIR}
)
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_BINARY_DIR}/README.txt")
-endif(WIN32)
+endif()