summaryrefslogtreecommitdiff
path: root/include/CMakeLists.txt
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-15 00:06:25 -0500
committerAdam <Adam@anope.org>2012-02-15 00:06:25 -0500
commite1f5fc6a0c139eae035d20facb95914642cad50c (patch)
tree60a12e03999b2cbd1ec77dd5b5bf6aef6b0057b3 /include/CMakeLists.txt
parentdb59f1a70f75d26a94df73492dc4aa462546f3d9 (diff)
Remove revision numbers as they're only ever set by Config reading git since we've switched off of SVN. Instead just use the hash for the current head when building. Also recheck the hash on every make not just Config.
Diffstat (limited to 'include/CMakeLists.txt')
-rw-r--r--include/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index 5579fdf30..e04fe31a8 100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -7,7 +7,7 @@ get_target_property(version_BINARY version LOCATION)
# Modify version.h from the above executable, with dependencies to version.cpp
# and all of the source files in the main build
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version_build
- COMMAND ${version_BINARY} ${Anope_SOURCE_DIR}/src/version.sh ${CMAKE_CURRENT_BINARY_DIR}/version.h
+ COMMAND ${version_BINARY} ${Anope_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/version.h
DEPENDS version ${SRC_SRCS}
)
# Add version to list of files for CPack to ignore