Mercurial > hg > orthanc-dicomweb
changeset 733:6baed50da311
merge
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Tue, 02 Dec 2025 16:32:15 +0100 |
| parents | 06e580b0da0e (current diff) f72e8d37db77 (diff) |
| children | 6978b0205975 |
| files | |
| diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Tue Dec 02 16:28:34 2025 +0100 +++ b/CMakeLists.txt Tue Dec 02 16:32:15 2025 +0100 @@ -60,7 +60,13 @@ if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") if (ORTHANC_FRAMEWORK_USE_SHARED) - include(FindBoost) + # https://cmake.org/cmake/help/latest/policy/CMP0167.html + if (CMAKE_VERSION VERSION_GREATER "3.30") + find_package(Boost CONFIG) + else() + include(FindBoost) + endif() + find_package(Boost COMPONENTS regex thread) if (NOT Boost_FOUND)
