tweak to build with kdevelop on osx

This commit is contained in:
Will 2013-12-05 23:48:12 +01:00
parent 46a0dab916
commit 62a1dab85a
2 changed files with 2 additions and 22 deletions

22
.gitignore vendored
View File

@ -6,30 +6,10 @@
# Vim
*.un~
Session.vim
.netrwhist
MegaGlest.kdev4
## OSX
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# CMake when building e.g. on OSX
/CMakeCache.txt
CMakeFiles/
cmake_install.cmake
CMakeScripts/
Debug/
MegaGlest.build/
/MegaGlest.xcodeproj/
*.plist
*.cmake
## Windows
# Windows image file caches

View File

@ -223,7 +223,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
ENDIF()
ENDIF()
IF(APPLE)
IF(APPLE AND NOT CMAKE_COMPILER_IS_GNUCXX)
SET(GIT_VERSION_CMD "-DGITVERSION='\\\\'${GIT_COMMIT_COUNT}.${GIT_SHA1}\\\\''")
ELSE()
SET(GIT_VERSION_CMD "-DGITVERSION='\\\"${GIT_COMMIT_COUNT}.${GIT_SHA1}\\\"'")