changeset 360:27352f62bd2e

fix linking system-wide orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 20 Dec 2024 16:43:16 +0100
parents 6b3de7a6052d
children 27b03f0b4550 3b3a0da9dd0d
files ViewerPlugin/CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ViewerPlugin/CMakeLists.txt	Fri Dec 20 16:37:11 2024 +0100
+++ b/ViewerPlugin/CMakeLists.txt	Fri Dec 20 16:43:16 2024 +0100
@@ -55,7 +55,7 @@
 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system")
   if (ORTHANC_FRAMEWORK_USE_SHARED)
     include(FindBoost)
-    find_package(Boost COMPONENTS system)
+    find_package(Boost COMPONENTS system thread)
     
     if (NOT Boost_FOUND)
       message(FATAL_ERROR "Unable to locate Boost on this system")