Remove special casing on GIT_VERSION_CMD

This special casing has been causing cmake -GXcode to fail.
This commit is contained in:
Karl Goetz 2014-12-07 14:09:58 +11:00
parent 58cba20cf4
commit e920cba84b
1 changed files with 1 additions and 6 deletions

View File

@ -242,12 +242,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
ENDIF()
ENDIF()
IF(APPLE AND NOT CMAKE_COMPILER_IS_GNUCXX)
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\'${GIT_LIVE_REV_CMD}\\\\''")
ELSE()
SET(GIT_VERSION_CMD "-DGITVERSION='\\\"${GIT_LIVE_REV_CMD}\\\"'")
# SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'")
ENDIF()
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\"${GIT_LIVE_REV_CMD}\\\\"'")
IF(CMAKE_INSTALL_PREFIX STREQUAL "")
MESSAGE(STATUS "*NOTE: NOT USING a Custom Data Install Path...")