Mercurial > hg > orthanc-wsi
changeset 413:eb660653eec0
fix linking against system-wide orthanc framework
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Thu, 06 Nov 2025 18:35:47 +0100 |
| parents | 1451264fe393 |
| children | 2be54b815c91 bd86d6ce5b25 |
| files | Applications/CMakeLists.txt ViewerPlugin/CMakeLists.txt |
| diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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()
--- 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()
