Commit 8b4d0396 authored by PRUVOST Florent's avatar PRUVOST Florent

PACKAGE_DIR are now set directly inside each corresponding cmake Finds, no need here

parent 60a93454
......@@ -64,18 +64,12 @@ if( STARPU_FIND_COMPONENTS )
foreach( component ${STARPU_FIND_COMPONENTS} )
if(${component} STREQUAL "HWLOC")
set(STARPU_LOOK_FOR_HWLOC TRUE)
if (NOT HWLOC_FOUND)
set(HWLOC_DIR "" CACHE PATH "Root directory of HWLOC library")
endif()
elseif(${component} STREQUAL "MPI")
set(STARPU_LOOK_FOR_MPI TRUE)
elseif(${component} STREQUAL "CUDA")
set(STARPU_LOOK_FOR_CUDA TRUE)
elseif(${component} STREQUAL "MAGMA")
set(STARPU_LOOK_FOR_MAGMA TRUE)
if (NOT MAGMA_FOUND)
set(MAGMA_DIR "" CACHE PATH "Root directory of MAGMA library")
endif()
endif()
if(${STARPU_FIND_REQUIRED_${component}} STREQUAL 1)
find_package(${component} REQUIRED)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment