changeset 5:b970bc11829e

fix build against system-wide orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 28 Aug 2021 15:39:56 +0200
parents 30ff7a55a71d
children 9288b168028c
files CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Sat Aug 28 15:22:25 2021 +0200
+++ b/CMakeLists.txt	Sat Aug 28 15:39:56 2021 +0200
@@ -53,7 +53,7 @@
 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system")
   if (ORTHANC_FRAMEWORK_USE_SHARED)
     include(FindBoost)
-    find_package(Boost COMPONENTS)
+    find_package(Boost COMPONENTS thread)
     
     if (NOT Boost_FOUND)
       message(FATAL_ERROR "Unable to locate Boost on this system")