aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/msvc
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2013-01-29 15:53:21 +0100
committerclick <click@gonnamakeyou.com>2013-01-29 15:53:21 +0100
commit7b49da48f9c3c21406fbe350de170757ea6e285f (patch)
tree6f993180a60a51d417312b555d20e978f700d47c /cmake/compiler/msvc
parent8183f70ae0635862c460fb63e88e930076947843 (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/msvc')
-rw-r--r--cmake/compiler/msvc/settings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake
index d758d466407..3ede406a4a4 100644
--- a/cmake/compiler/msvc/settings.cmake
+++ b/cmake/compiler/msvc/settings.cmake
@@ -25,7 +25,7 @@ else()
endif()
# Set build-directive (used in core to tell which buildtype we used)
-add_definitions(-D_BUILD_DIRECTIVE=\\"$(ConfigurationName)\\")
+add_definitions(-D_BUILD_DIRECTIVE="$(ConfigurationName)")
# multithreaded compiling on VS
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")