Skip to content

Commit

Permalink
[FOLD] No fallback for is_multiconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLoser committed Jun 30, 2018
1 parent b55220d commit f39f9df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ project (rippled)
#]===================================================================]

get_property (is_multiconfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
## this property is only in cmake 3.9+, so have a fallback/best-guess
if (is_multiconfig STREQUAL "NOTFOUND")
if (${CMAKE_GENERATOR} STREQUAL "Xcode" OR ${CMAKE_GENERATOR} MATCHES "^Visual Studio")
set (is_multiconfig TRUE)
else ()
set (is_multiconfig FALSE)
endif ()
endif ()

Expand Down

0 comments on commit f39f9df

Please sign in to comment.