aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/genrevision/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genrevision/CMakeLists.txt b/src/genrevision/CMakeLists.txt
index 4ee6b06bd7c..88ce9f8e8e1 100644
--- a/src/genrevision/CMakeLists.txt
+++ b/src/genrevision/CMakeLists.txt
@@ -22,7 +22,7 @@ if( CMAKE_GENERATOR MATCHES "Visual Studio" )
DEPENDS genrev
)
elseif( CMAKE_GENERATOR MATCHES "Xcode" )
- add_custom_command(revision.h ALL
+ add_custom_target(revision.h ALL
COMMAND ${CMAKE_BINARY_DIR}/src/genrevision/$(CONFIGURATION)/genrev -m ${CMAKE_BUILD_TYPE} ${CMAKE_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
DEPENDS genrev