Buildsystem/OSX: Fix genrevision runtime conditon for generating revision.h (forgot to change it to a target, not as a singlerun command)

--HG--
branch : trunk
This commit is contained in:
click
2010-09-29 16:51:54 +02:00
parent fcec787e9c
commit 608ad9dd3d

View File

@@ -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