restrict some compiler flags to the correct platforms.
This commit is contained in:
parent
b8d899f67f
commit
aa08b40696
@ -163,7 +163,9 @@ if (OpenMP_FOUND)
|
|||||||
endif (OpenMP_CXX_LIBRARIES)
|
endif (OpenMP_CXX_LIBRARIES)
|
||||||
endif (OpenMP_FOUND)
|
endif (OpenMP_FOUND)
|
||||||
if (DKS_FOUND)
|
if (DKS_FOUND)
|
||||||
set(DependOnLibs ${DependOnLibs} "-framework OpenCL")
|
if (APPLE)
|
||||||
|
set(DependOnLibs ${DependOnLibs} "-framework OpenCL")
|
||||||
|
endif (APPLE)
|
||||||
set(DependOnLibs ${DependOnLibs} "-L ${DKS_LIBRARY_DIR}")
|
set(DependOnLibs ${DependOnLibs} "-L ${DKS_LIBRARY_DIR}")
|
||||||
set(DependOnLibs ${DependOnLibs} ${DKS_LIBRARY})
|
set(DependOnLibs ${DependOnLibs} ${DKS_LIBRARY})
|
||||||
endif (DKS_FOUND)
|
endif (DKS_FOUND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user