mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 07:31:21 +02:00
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:
@@ -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}\\\"'")
|
||||
|
Reference in New Issue
Block a user