Reintroduce ELSE clause
Had a chat with softcoder who explained what was going on. We should now be almost identical to the original but the compiler specific test has been removed.
This commit is contained in:
parent
35347ed36b
commit
4919307d8f
|
@ -243,7 +243,9 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
|
|||
ENDIF()
|
||||
|
||||
IF(APPLE)
|
||||
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\"${GIT_LIVE_REV_CMD}\\\\"'")
|
||||
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\'${GIT_LIVE_REV_CMD}\\\\''")
|
||||
ELSE()
|
||||
SET(GIT_VERSION_CMD "-DGITVERSION='\\\"${GIT_LIVE_REV_CMD}\\\"'")
|
||||
ENDIF()
|
||||
|
||||
IF(CMAKE_INSTALL_PREFIX STREQUAL "")
|
||||
|
|
Loading…
Reference in New Issue