summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2015-12-30 21:06:25 -0600
committerAdam <adam@sigterm.info>2015-12-30 21:06:25 -0600
commit01644e13703f1bed42bcf1497be3c6b43b186ad6 (patch)
tree4fba1a0cde055a6aa4ca131ef823f3a587f1f048 /src/tools
parentc56a6b03c0d5025935563625c25c6347ed90160a (diff)
parent71c2a0a675c7767ff69cc243849da7eb64fe88d7 (diff)
Merge pull request #139 from SaberUK/master+cmake-cleanup
Clean up the build system, part 1.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/CMakeLists.txt6
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()