Skip to content

Commit

Permalink
oops, pushed too soon (now with proper msbuild check)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Apr 8, 2016
1 parent 509a27f commit 3ebec1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/compiler/msvc/settings.cmake
Expand Up @@ -32,7 +32,7 @@ endif()

# Set build-directive (used in core to tell which buildtype we used)
# msbuild/devenv don't set CMAKE_MAKE_PROGRAM, you can choose build type from a dropdown after generating projects
if("${CMAKE_MAKE_PROGRAM}" STREQUAL "")
if("${CMAKE_MAKE_PROGRAM}" MATCHES "MSBuild")
add_definitions(-D_BUILD_DIRECTIVE=\\"$(ConfigurationName)\\")
else()
# while all make-like generators do (nmake, ninja)
Expand Down

0 comments on commit 3ebec1e

Please sign in to comment.