Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8e21f400 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add hwloc dependency to find quark if hwloc found

parent 20243f09
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment