# HG changeset patch # User Sebastien Jodogne # Date 1762450547 -3600 # Node ID eb660653eec033eecc30d2a2a45f877890e67450 # Parent 1451264fe39397edd6a0f0a300af3fb821ee8a5e fix linking against system-wide orthanc framework diff -r 1451264fe393 -r eb660653eec0 Applications/CMakeLists.txt --- a/Applications/CMakeLists.txt Thu Nov 06 18:25:39 2025 +0100 +++ b/Applications/CMakeLists.txt Thu Nov 06 18:35:47 2025 +0100 @@ -67,7 +67,8 @@ include(FindDCMTK) link_libraries(${Boost_LIBRARIES} ${DCMTK_LIBRARIES} jsoncpp crypto) endif() - + + add_definitions(-DORTHANC_ENABLE_DCMTK=1) link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES}) else() diff -r 1451264fe393 -r eb660653eec0 ViewerPlugin/CMakeLists.txt --- a/ViewerPlugin/CMakeLists.txt Thu Nov 06 18:25:39 2025 +0100 +++ b/ViewerPlugin/CMakeLists.txt Thu Nov 06 18:35:47 2025 +0100 @@ -66,7 +66,8 @@ include(FindDCMTK) link_libraries(${Boost_LIBRARIES} ${DCMTK_LIBRARIES} jsoncpp) endif() - + + add_definitions(-DORTHANC_ENABLE_DCMTK=1) link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES}) else()