DKS improvements on macOS Big Sur.

This commit is contained in:
2020-12-16 20:14:28 +01:00
parent aaa551be2b
commit 0bdcaf3497
2 changed files with 13 additions and 3 deletions

View File

@ -163,7 +163,9 @@ if (OpenMP_FOUND)
endif (OpenMP_CXX_LIBRARIES)
endif (OpenMP_FOUND)
if (DKS_FOUND)
set(DependOnLibs ${DependOnLibs} ${DKS_LIBS})
set(DependOnLibs ${DependOnLibs} "-framework OpenCL")
set(DependOnLibs ${DependOnLibs} "-L ${DKS_LIBRARY_DIR}")
set(DependOnLibs ${DependOnLibs} ${DKS_LIBRARY})
endif (DKS_FOUND)
target_link_libraries(PUserFcnBase ${ROOT_LIBRARIES})