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:
1 parent
fcec787e9c
commit
608ad9dd3d
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user