Mercurial > hg > orthanc-stone
changeset 1511:9dfeee74c1e6
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Jul 2020 10:02:59 +0200 |
parents | 1005c1cbe4dd |
children | 244ad1e4e76a |
files | Samples/Sdl/CMakeLists.txt |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Samples/Sdl/CMakeLists.txt Tue Jul 07 09:45:27 2020 +0200 +++ b/Samples/Sdl/CMakeLists.txt Tue Jul 07 10:02:59 2020 +0200 @@ -19,7 +19,6 @@ set(ENABLE_LOCALE ON) # Necessary for text rendering set(ENABLE_OPENGL ON) # <== set(ENABLE_WEB_CLIENT ON) - include(${CMAKE_SOURCE_DIR}/BoostExtendedConfiguration.cmake) endif() set(ENABLE_DCMTK ON) # <== @@ -28,6 +27,11 @@ include(${STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake) include(${CMAKE_SOURCE_DIR}/Utilities.cmake) +if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") + # This include must be after "OrthancStoneConfiguration.cmake" to + # have "BOOST_SOURCES_DIR" defined + include(${CMAKE_SOURCE_DIR}/BoostExtendedConfiguration.cmake) +endif() DownloadPackage(