diff OrthancStone/Resources/CMake/OrthancStoneParameters.cmake @ 1591:5887a4f8594b

moving platform-specific files out of the "OrthancStone" folder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Oct 2020 13:15:03 +0200
parents c8644706e78b
children 621e4e11783d
line wrap: on
line diff
--- a/OrthancStone/Resources/CMake/OrthancStoneParameters.cmake	Thu Oct 22 18:39:03 2020 +0200
+++ b/OrthancStone/Resources/CMake/OrthancStoneParameters.cmake	Fri Oct 23 13:15:03 2020 +0200
@@ -74,12 +74,13 @@
 ## CMake parameters tunable by the user
 #####################################################################
 
+set(ENABLE_OPENGL ON CACHE BOOL "Enable support of OpenGL")
+
 # Advanced parameters to fine-tune linking against system libraries
 set(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo")
 set(USE_SYSTEM_FREETYPE ON CACHE BOOL "Use the system version of Freetype")
 set(USE_SYSTEM_GLEW ON CACHE BOOL "Use the system version of glew (for Windows only)")
 set(USE_SYSTEM_PIXMAN ON CACHE BOOL "Use the system version of Pixman")
-set(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2")
 
 
 
@@ -88,5 +89,4 @@
 ## the Stone of Orthanc
 #####################################################################
 
-set(ENABLE_OPENGL ON CACHE BOOL "Enable support of OpenGL")
-set(ENABLE_WASM OFF CACHE INTERNAL "Enable support of WebAssembly")
+set(ENABLE_THREADS ON CACHE INTERNAL "Enable threading support (must be false for WebAssembly)")