diff --git a/Modules/REST/CMakeLists.txt b/Modules/REST/CMakeLists.txt index 60226d6486..09e301a39e 100644 --- a/Modules/REST/CMakeLists.txt +++ b/Modules/REST/CMakeLists.txt @@ -1,8 +1,14 @@ +set(boost_depends "Boost|date_time+regex+system") + +if(UNIX) + set(boost_depends "${boost_depends}+atomic+chrono+filesystem+random+thread") +endif() + mitk_create_module( DEPENDS MitkCore - PACKAGE_DEPENDS PUBLIC cpprestsdk OpenSSL|SSL + PACKAGE_DEPENDS PUBLIC cpprestsdk OpenSSL|SSL ${boost_depends} ) if(TARGET ${MODULE_TARGET}) add_subdirectory(test) endif()