Re-add IF check around GIT_VERSION_CMD

Previous removal included a APPLE check which I'm told needs to remain.
This commit is contained in:
Karl Goetz 2014-12-07 15:43:04 +11:00
parent e920cba84b
commit 35347ed36b
1 changed files with 3 additions and 1 deletions

View File

@ -242,7 +242,9 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
ENDIF()
ENDIF()
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\"${GIT_LIVE_REV_CMD}\\\\"'")
IF(APPLE)
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\"${GIT_LIVE_REV_CMD}\\\\"'")
ENDIF()
IF(CMAKE_INSTALL_PREFIX STREQUAL "")
MESSAGE(STATUS "*NOTE: NOT USING a Custom Data Install Path...")