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

add hwloc dependency to find quark if hwloc found

parent 20243f09
......@@ -192,6 +192,11 @@ if(QUARK_LIBRARIES)
set(CMAKE_REQUIRED_INCLUDES "${QUARK_INCLUDE_DIRS}")
set(CMAKE_REQUIRED_LIBRARIES "${QUARK_LIBRARIES};${CMAKE_THREAD_LIBS_INIT}")
set(CMAKE_REQUIRED_FLAGS "-L${QUARK_LIBRARY_DIRS}")
if (HWLOC_FOUND)
list(APPEND CMAKE_REQUIRED_INCLUDES "${HWLOC_INCLUDE_DIRS}")
list(APPEND CMAKE_REQUIRED_LIBRARIES "${HWLOC_LIBRARIES}")
list(APPEND CMAKE_REQUIRED_FLAGS "-L${HWLOC_LIBRARIES}")
endif()
unset(QUARK_WORKS CACHE)
include(CheckFunctionExists)
......
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