115
|
1 # Stone of Orthanc
|
|
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
|
|
3 # Department, University Hospital of Liege, Belgium
|
|
4 # Copyright (C) 2017 Osimis, Belgium
|
|
5 #
|
|
6 # This program is free software: you can redistribute it and/or
|
|
7 # modify it under the terms of the GNU Affero General Public License
|
|
8 # as published by the Free Software Foundation, either version 3 of
|
|
9 # the License, or (at your option) any later version.
|
|
10 #
|
|
11 # This program is distributed in the hope that it will be useful, but
|
|
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14 # Affero General Public License for more details.
|
|
15 #
|
|
16 # You should have received a copy of the GNU Affero General Public License
|
|
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
|
19
|
|
20
|
|
21 #####################################################################
|
|
22 ## Import the parameters of the Orthanc Framework
|
|
23 #####################################################################
|
|
24
|
|
25 # TODO => Import
|
|
26 SET(ORTHANC_ROOT /home/jodogne/Subversion/orthanc)
|
|
27
|
|
28 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake)
|
|
29
|
|
30
|
|
31 #####################################################################
|
|
32 ## CMake parameters tunable by the user
|
|
33 #####################################################################
|
|
34
|
|
35 # Advanced parameters to fine-tune linking against system libraries
|
|
36 SET(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo")
|
|
37 SET(USE_SYSTEM_PIXMAN ON CACHE BOOL "Use the system version of Pixman")
|
|
38 SET(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2")
|
|
39
|
|
40
|
|
41 #####################################################################
|
|
42 ## Internal CMake parameters to enable the optional subcomponents of
|
|
43 ## the Stone of Orthanc
|
|
44 #####################################################################
|
|
45
|
|
46 SET(ENABLE_SDL ON CACHE INTERNAL "Include support for SDL")
|