Merge pull request #37 from goetzk/change-git-version-cmd-test

Change test for GIT_VERSION_CMD an xcode check
This commit is contained in:
Mark Vejvoda 2014-12-15 14:10:15 -08:00
commit 1d2a18f5cf
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
ENDIF()
ENDIF()
IF(APPLE)
IF(CMAKE_GENERATOR STREQUAL Xcode)
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\'${GIT_LIVE_REV_CMD}\\\\''")
ELSE()
SET(GIT_VERSION_CMD "-DGITVERSION='\\\"${GIT_LIVE_REV_CMD}\\\"'")