Mercurial > hg > orthanc
diff Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2465:80c1ed8e7283
uuid not available if sandboxed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jan 2018 10:02:08 +0100 |
parents | be5c0f4155f6 |
children | 9c54c40eaf25 |
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