Fixed: Don't add dependency on target revision if not defined
This commit is contained in:
parent
04dc37c4be
commit
9badc9bf1f
1 changed files with 2 additions and 2 deletions
|
@ -102,10 +102,10 @@ ENDMACRO(NL_TARGET_DRIVER)
|
||||||
# Argument:
|
# Argument:
|
||||||
###
|
###
|
||||||
MACRO(NL_DEFAULT_PROPS name label)
|
MACRO(NL_DEFAULT_PROPS name label)
|
||||||
IF(HAVE_REVISION_H)
|
IF(TARGET revision)
|
||||||
# explicitly say that the target depends on revision.h
|
# explicitly say that the target depends on revision.h
|
||||||
ADD_DEPENDENCIES(${name} revision)
|
ADD_DEPENDENCIES(${name} revision)
|
||||||
ENDIF(HAVE_REVISION_H)
|
ENDIF()
|
||||||
|
|
||||||
# Note: This is just a workaround for a CMake bug generating VS10 files with a colon in the project name.
|
# Note: This is just a workaround for a CMake bug generating VS10 files with a colon in the project name.
|
||||||
# CMake Bug ID: http://www.cmake.org/Bug/view.php?id=11819
|
# CMake Bug ID: http://www.cmake.org/Bug/view.php?id=11819
|
||||||
|
|
Loading…
Reference in a new issue