diff options
| author | Peter Powell <petpow@saberuk.com> | 2015-12-15 00:12:57 +0000 |
|---|---|---|
| committer | Peter Powell <petpow@saberuk.com> | 2015-12-31 02:40:36 +0000 |
| commit | dd6688b9875bef4c3ce5e66fd19283ac931b72ea (patch) | |
| tree | 8ef774f4e50e04a72994e1c737ca1dced14bb085 /src/tools | |
| parent | 63f865dcacf459f65b75a4269288b3090b14f956 (diff) | |
Remove repeated expressions from CMake end*() and else() calls.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index d970d93b0..4d64f6fd9 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -21,7 +21,7 @@ foreach(SRC ${TOOLS_SRCS}) get_target_property(EXE_BINARY ${EXE} LOCATION) get_filename_component(EXE_BINARY ${EXE_BINARY} NAME) add_to_cpack_ignored_files("${EXE_BINARY}$" TRUE) -endforeach(SRC) +endforeach() # If not on Windows, generate anoperc and install it along with mydbgen if(NOT WIN32) @@ -32,9 +32,9 @@ if(NOT WIN32) install (PROGRAMS geoipupdate.sh DESTINATION ${BIN_DIR} ) -endif(NOT WIN32) +endif() # On non-Windows platforms, if RUNGROUP is set, change the permissions of the tools directory if(NOT WIN32 AND RUNGROUP) install(CODE "execute_process(COMMAND ${CHMOD} 2770 \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin\")") -endif(NOT WIN32 AND RUNGROUP) +endif() |
