]> git.jsancho.org Git - lugaru.git/commitdiff
Fix CXX flags in various CMake build types
authorRémi Verschelde <rverschelde@gmail.com>
Wed, 7 Dec 2016 21:44:56 +0000 (22:44 +0100)
committerRémi Verschelde <rverschelde@gmail.com>
Wed, 7 Dec 2016 21:44:56 +0000 (22:44 +0100)
The flags we were defining for _DEBUG and _RELEASE were similar to the default
CMake flags for those types, which get appended to CMAKE_CXX_FLAGS, so we only
need to customize the latter.

The final flags will be for e.g. RelWithDebInfo:
${CMAKE_CXX_FLAGS} ${CXXFLAGS} ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}
with ${CXXFLAGS} taken from the environment.


No differences found