diff --git a/Modules/OpenCL/CMakeLists.txt b/Modules/OpenCL/CMakeLists.txt index 0c9b624085..25b7ef1cbd 100644 --- a/Modules/OpenCL/CMakeLists.txt +++ b/Modules/OpenCL/CMakeLists.txt @@ -1,11 +1,12 @@ if(MITK_USE_OpenCL) # create the module MITK_CREATE_MODULE( DEPENDS MitkCore - PACKAGE_DEPENDS OpenCL - ITK|ITKThresholding + PACKAGE_DEPENDS + PUBLIC OpenCL + PRIVATE ITK|ITKThresholding ) add_subdirectory(Testing) endif(MITK_USE_OpenCL)