aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-10-22 04:38:58 +0300
committerWohlstand <admin@wohlnet.ru>2017-10-22 04:38:58 +0300
commit9de1ad18d5305f21cb6998bdd88144893d0e121d (patch)
treea0fa5793da75584bf445e43a8a86839227ee622a /CMakeLists.txt
parent38ab46ec1945bc070e278f91ea8c49de3bba759b (diff)
downloadlibADLMIDI-9de1ad18d5305f21cb6998bdd88144893d0e121d.tar.gz
libADLMIDI-9de1ad18d5305f21cb6998bdd88144893d0e121d.tar.bz2
libADLMIDI-9de1ad18d5305f21cb6998bdd88144893d0e121d.zip
Fix MSVC CMake compilation
TODO: Fix a freaking MSVC's "invalid comparator" assert given by std::map::lower_bound() call
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 $<$<COMPILE_LANGUAGE:CXX>:-std=c++11>)
else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
message("Turned on C++11 on MSVC")
- target_compile_options(gen_adldata PUBLIC $<$<COMPILE_LANGUAGE:CXX>:/std:c++latest>)
+ target_compile_options(gen_adldata PUBLIC "/std:c++latest")
endif()
add_custom_target(