We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e60ac14 commit 269bd87Copy full SHA for 269bd87
wrappers/winrt/CMakeLists.txt
@@ -15,6 +15,12 @@ set (CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release" CACHE STRING "" FORCE)
15
set (WINRT ON)
16
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /INCREMENTAL:NO" )
17
18
+if (NOT DEFINED CMAKE_CXX_STANDARD)
19
+ set (CMAKE_CXX_STANDARD 20)
20
+ # Allow the fallback to earlier versions if the compiler does not support it.
21
+ set(CMAKE_CXX_STANDARD_REQUIRED OFF)
22
+endif()
23
+
24
add_definitions (-DUNICODE -D_UNICODE)
25
26
if (MSVC)
0 commit comments