diff Resources/CMake/OrthancFrameworkParameters.cmake @ 3492:cfaa9eded17e

Added flag to control the emscripten backend (which, in turn, tweaks the compiler flags)
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 19 Aug 2019 10:17:01 +0200
parents bab2a84a6697
children 23219b9da4d1
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkParameters.cmake	Sat Aug 10 13:42:38 2019 +0200
+++ b/Resources/CMake/OrthancFrameworkParameters.cmake	Mon Aug 19 10:17:01 2019 +0200
@@ -72,6 +72,7 @@
 set(USE_LEGACY_JSONCPP OFF CACHE BOOL "Use the old branch 0.x.y of JsonCpp, that does not require a C++11 compiler (for LSB and old versions of Visual Studio)")
 set(USE_LEGACY_LIBICU OFF CACHE BOOL "Use icu icu4c-58_2, latest version not requiring a C++11 compiler (for LSB and old versions of Visual Studio)")
 set(MSVC_MULTIPLE_PROCESSES OFF CACHE BOOL "Add the /MP option to build with multiple processes if using Visual Studio")
+set(EMSCRIPTEN_SET_LLVM_WASM_BACKEND OFF CACHE BOOL "Sets the compiler flags required to use the LLVM Web Assembly backend in emscripten")
 
 mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE)
 mark_as_advanced(SYSTEM_MONGOOSE_USE_CALLBACKS)