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

@ -132,10 +132,18 @@ if (dks)
if (NOT CUDA_FOUND AND NOT OpenCL_FOUND)
message(WARNING ">> Neither CUDA nor OpenCL found which are required for DKS, hence disable DKS support <<")
else (NOT CUDA_FOUND AND NOT OpenCL_FOUND)
find_package(DKS)
endif (NOT CUDA_FOUND AND NOT OpenCL_FOUND)
find_package(DKS "1.1.4"
HINTS "/usr/local/lib/"
)
endif (NOT CUDA_FOUND AND NOT OpenCL_FOUND)
endif (dks)
if (DKS_FOUND)
message(STATUS "DKS version : ${DKS_VERSION}")
message(STATUS "DKS include dir : ${DKS_INCLUDE_DIR}")
message(STATUS "DKS library : ${DKS_LIBRARY}")
endif (DKS_FOUND)
#--- check for Qt -------------------------------------------------------------
if (qt_based_tools)
# check for any Qt, i.e. AUTO