We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 457aec9 commit 6c0273fCopy full SHA for 6c0273f
2 files changed
CMakeLists.txt
@@ -13,11 +13,7 @@ endif()
13
list(APPEND CMAKE_MODULE_PATH
14
"${CMAKE_SOURCE_DIR}/cmake/")
15
16
-if(EMSCRIPTEN)
17
- set(CMAKE_CXX_STANDARD 17)
18
-else()
19
- set(CMAKE_CXX_STANDARD 11)
20
-endif()
+set(CMAKE_CXX_STANDARD 11)
21
set(CMAKE_CXX_STANDARD_REQUIRED YES)
22
23
# for /MT on MSVC
src/CMakeLists.txt
@@ -313,6 +313,8 @@ if(ENABLE_GUI)
313
message(FATAL_ERROR "The Emscripten build requires at least version 4.0.8")
314
endif()
315
316
+ target_compile_features(solvespace PRIVATE cxx_std_17)
317
+
318
set(SHELL "${CMAKE_CURRENT_SOURCE_DIR}/platform/html/emshell.html")
319
# Add internal quotes to paths used in the response file to ensure that paths
320
# that contain spaces are handled correctly
0 commit comments