File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ if(NOT UMF_DISABLE_HWLOC AND (NOT UMF_LINK_HWLOC_STATICALLY))
263263 pkg_check_modules(LIBHWLOC hwloc>=2.3.0)
264264 if (NOT LIBHWLOC_FOUND)
265265 find_package (LIBHWLOC 2.3.0 COMPONENTS hwloc)
266- if (LIBHWLOC_LIBRARIES )
266+ if (LIBHWLOC_FOUND )
267267 set (LIBHWLOC_AVAILABLE TRUE )
268268 endif ()
269269 endif ()
@@ -444,7 +444,7 @@ if(UMF_BUILD_LEVEL_ZERO_PROVIDER)
444444 endif ()
445445 message (STATUS "LEVEL_ZERO_INCLUDE_DIRS = ${LEVEL_ZERO_INCLUDE_DIRS} " )
446446
447- if (ZE_LOADER_LIBRARIES )
447+ if (ZE_LOADER_FOUND )
448448 set (UMF_LEVEL_ZERO_ENABLED TRUE )
449449 else ()
450450 message (
@@ -500,7 +500,7 @@ if(UMF_BUILD_CUDA_PROVIDER)
500500 endif ()
501501 message (STATUS "CUDA_INCLUDE_DIRS = ${CUDA_INCLUDE_DIRS} " )
502502
503- if (CUDA_LIBRARIES )
503+ if (CUDA_FOUND )
504504 set (UMF_CUDA_ENABLED TRUE )
505505 else ()
506506 message (
Original file line number Diff line number Diff line change @@ -674,7 +674,7 @@ if(LINUX
674674 )
675675 endif ()
676676
677- if (LIBNUMA_LIBRARIES )
677+ if (LIBNUMA_FOUND )
678678 set (EXAMPLES ${EXAMPLES} memspace_hmat memspace_numa)
679679 else ()
680680 message (
You can’t perform that action at this time.
0 commit comments