mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
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:
@@ -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