Mercurial > hg > orthanc-stone
diff Samples/Sdl/CMakeLists.txt @ 1473:9cbc6d21ae89
SeriesThumbnailsLoader::SuccessMessage::DecodeImage(), fix static builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 18:02:49 +0200 |
parents | 28c64c246312 |
children | 615035c2f3ba |
line wrap: on
line diff
--- a/Samples/Sdl/CMakeLists.txt Mon Jun 15 16:26:57 2020 +0200 +++ b/Samples/Sdl/CMakeLists.txt Mon Jun 15 18:02:49 2020 +0200 @@ -23,9 +23,9 @@ set(ENABLE_WEB_CLIENT ON) set(ORTHANC_SANDBOXED OFF) -include(${STONE_ROOT}/Resources/CMake/BoostExtendedConfiguration.cmake) include(${STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake) -include(${STONE_ROOT}/Resources/CMake/Utilities.cmake) +include(${CMAKE_SOURCE_DIR}/BoostExtendedConfiguration.cmake) +include(${CMAKE_SOURCE_DIR}/Utilities.cmake) @@ -51,6 +51,7 @@ add_library(OrthancStone STATIC ${ORTHANC_STONE_SOURCES} ${AUTOGENERATED_SOURCES} + ${BOOST_EXTENDED_SOURCES} ) message(${AUTOGENERATED_SOURCES}) @@ -80,7 +81,6 @@ ../Common/SampleHelpers.h SingleFrameViewer/SdlSimpleViewerApplication.h SingleFrameViewer/SdlSimpleViewer.cpp - ${BOOST_EXTENDED_SOURCES} ) target_link_libraries(SdlSimpleViewer OrthancStone ${DCMTK_LIBRARIES})