From 9de1ad18d5305f21cb6998bdd88144893d0e121d Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 22 Oct 2017 04:38:58 +0300 Subject: Fix MSVC CMake compilation TODO: Fix a freaking MSVC's "invalid comparator" assert given by std::map::lower_bound() call --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9428ecb..4d9c39b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,7 +86,7 @@ if(WITH_EMBEDDED_BANKS) target_compile_options(gen_adldata PUBLIC $<$:-std=c++11>) else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") message("Turned on C++11 on MSVC") - target_compile_options(gen_adldata PUBLIC $<$:/std:c++latest>) + target_compile_options(gen_adldata PUBLIC "/std:c++latest") endif() add_custom_target( -- cgit v1.2.3