Commit cb05a3f5 authored by Don Gagne's avatar Don Gagne

Merge pull request #2023 from dogmaphobic/gitVersion

Getting rid of warning on Mac OS
parents 2c716d21 9dc1ac72
...@@ -23,4 +23,8 @@ CONFIG(debug) { ...@@ -23,4 +23,8 @@ CONFIG(debug) {
GIT_VERSION_CXXFLAGS = $$QMAKE_CXXFLAGS_RELEASE GIT_VERSION_CXXFLAGS = $$QMAKE_CXXFLAGS_RELEASE
} }
QMAKE_PRE_LINK += $$QGC_GIT_VER && $$QMAKE_CXX -c $$GIT_VERSION_CXXFLAGS git_version.cpp MacBuild {
QMAKE_PRE_LINK += $$QGC_GIT_VER && $$QMAKE_CXX -mmacosx-version-min=$$QMAKE_MACOSX_DEPLOYMENT_TARGET -c $$GIT_VERSION_CXXFLAGS git_version.cpp
} else {
QMAKE_PRE_LINK += $$QGC_GIT_VER && $$QMAKE_CXX -c $$GIT_VERSION_CXXFLAGS git_version.cpp
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment