Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1590:7b963bccafef | 1591:5887a4f8594b |
---|---|
72 | 72 |
73 ##################################################################### | 73 ##################################################################### |
74 ## CMake parameters tunable by the user | 74 ## CMake parameters tunable by the user |
75 ##################################################################### | 75 ##################################################################### |
76 | 76 |
77 set(ENABLE_OPENGL ON CACHE BOOL "Enable support of OpenGL") | |
78 | |
77 # Advanced parameters to fine-tune linking against system libraries | 79 # Advanced parameters to fine-tune linking against system libraries |
78 set(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo") | 80 set(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo") |
79 set(USE_SYSTEM_FREETYPE ON CACHE BOOL "Use the system version of Freetype") | 81 set(USE_SYSTEM_FREETYPE ON CACHE BOOL "Use the system version of Freetype") |
80 set(USE_SYSTEM_GLEW ON CACHE BOOL "Use the system version of glew (for Windows only)") | 82 set(USE_SYSTEM_GLEW ON CACHE BOOL "Use the system version of glew (for Windows only)") |
81 set(USE_SYSTEM_PIXMAN ON CACHE BOOL "Use the system version of Pixman") | 83 set(USE_SYSTEM_PIXMAN ON CACHE BOOL "Use the system version of Pixman") |
82 set(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2") | |
83 | 84 |
84 | 85 |
85 | 86 |
86 ##################################################################### | 87 ##################################################################### |
87 ## Internal CMake parameters to enable the optional subcomponents of | 88 ## Internal CMake parameters to enable the optional subcomponents of |
88 ## the Stone of Orthanc | 89 ## the Stone of Orthanc |
89 ##################################################################### | 90 ##################################################################### |
90 | 91 |
91 set(ENABLE_OPENGL ON CACHE BOOL "Enable support of OpenGL") | 92 set(ENABLE_THREADS ON CACHE INTERNAL "Enable threading support (must be false for WebAssembly)") |
92 set(ENABLE_WASM OFF CACHE INTERNAL "Enable support of WebAssembly") |