1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 23:06:39 +02:00

Remove the repeated conditions in cmake endif/else statements.

This commit is contained in:
Sadie Powell
2021-04-27 17:49:06 +01:00
parent ef4fd869ae
commit e2aeab970b
10 changed files with 294 additions and 294 deletions
+2 -2
View File
@@ -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()