comparison CMakeLists.txt @ 22:b01d46e5a2b3

support for sandboxed environments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Nov 2016 12:08:15 +0100
parents 20f623762e8e
children b340879da9bd
comparison
equal deleted inserted replaced
21:20f623762e8e 22:b01d46e5a2b3
4 4
5 ##################################################################### 5 #####################################################################
6 ## Build a static library containing the Orthanc Stone framework 6 ## Build a static library containing the Orthanc Stone framework
7 ##################################################################### 7 #####################################################################
8 8
9 SET(STONE_SANDBOXED OFF)
9 include(Resources/CMake/OrthancStone.cmake) 10 include(Resources/CMake/OrthancStone.cmake)
10
11 add_definitions(
12 -DORTHANC_SANDBOXED=0
13 )
14
15 add_library(OrthancStone STATIC ${ORTHANC_STONE_SOURCES}) 11 add_library(OrthancStone STATIC ${ORTHANC_STONE_SOURCES})
16 12
17 13
18 ##################################################################### 14 #####################################################################
19 ## CMake parameters for Google Test 15 ## CMake parameters for Google Test