changeset 2465:80c1ed8e7283

uuid not available if sandboxed
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Jan 2018 10:02:08 +0100
parents 61fc5133e5d5
children ae22df152ee2
files Resources/CMake/OrthancFrameworkConfiguration.cmake
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake	Fri Jan 05 16:38:25 2018 +0100
+++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake	Tue Jan 09 10:02:08 2018 +0100
@@ -333,9 +333,12 @@
 #####################################################################
 
 include(${CMAKE_CURRENT_LIST_DIR}/JsonCppConfiguration.cmake)
-include(${CMAKE_CURRENT_LIST_DIR}/UuidConfiguration.cmake)
 include(${CMAKE_CURRENT_LIST_DIR}/ZlibConfiguration.cmake)
 
+if (NOT ORTHANC_SANDBOXED)
+  include(${CMAKE_CURRENT_LIST_DIR}/UuidConfiguration.cmake)
+endif()
+
 # We put Boost as the last dependency, as it is the heaviest to
 # configure, which allows to quickly spot problems when configuring
 # static builds in other dependencies