diff options
author | click <click@gonnamakeyou.com> | 2013-01-29 15:53:21 +0100 |
---|---|---|
committer | click <click@gonnamakeyou.com> | 2013-01-29 15:53:21 +0100 |
commit | 7b49da48f9c3c21406fbe350de170757ea6e285f (patch) | |
tree | 6f993180a60a51d417312b555d20e978f700d47c /cmake/compiler/gcc | |
parent | 8183f70ae0635862c460fb63e88e930076947843 (diff) |
Buildsystem/CMake: Change policy CMP0005 to NEW and corect some buildvariables accordingly
** Info from CMake:
** The OLD behavior for this policy is to place definition values given to add_definitions directly in the generated build rules without attempting to escape anything.
** The NEW behavior for this policy is to generate correct escapes for all native build tools automatically.
If this breaks build, let us know on irc : irc.rizon.net/#trinity
Diffstat (limited to 'cmake/compiler/gcc')
-rw-r--r-- | cmake/compiler/gcc/settings.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/compiler/gcc/settings.cmake b/cmake/compiler/gcc/settings.cmake index 25ee96c8562..9438662bee9 100644 --- a/cmake/compiler/gcc/settings.cmake +++ b/cmake/compiler/gcc/settings.cmake @@ -1,5 +1,5 @@ # Set build-directive (used in core to tell which buildtype we used) -add_definitions(-D_BUILD_DIRECTIVE='"${CMAKE_BUILD_TYPE}"') +add_definitions(-D_BUILD_DIRECTIVE="${CMAKE_BUILD_TYPE}") if(PLATFORM EQUAL 32) # Required on 32-bit systems to enable SSE2 (standard on x64) |