Mentions légales du service

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

remove obsolete code, cmake variables are already properly set here

parent 656001b6
No related branches found
No related tags found
No related merge requests found
...@@ -218,11 +218,7 @@ if(NOT HWLOC_FOUND OR NOT HWLOC_LIBRARIES) ...@@ -218,11 +218,7 @@ if(NOT HWLOC_FOUND OR NOT HWLOC_LIBRARIES)
check_function_exists(hwloc_topology_init HWLOC_WORKS) check_function_exists(hwloc_topology_init HWLOC_WORKS)
mark_as_advanced(HWLOC_WORKS) mark_as_advanced(HWLOC_WORKS)
if(HWLOC_WORKS) if(NOT HWLOC_WORKS)
set(HWLOC_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES}")
set(HWLOC_LIBRARY_DIRS "${HWLOC_LIBRARY_DIRS}")
set(HWLOC_INCLUDE_DIRS "${CMAKE_REQUIRED_INCLUDES}")
else()
if (HWLOC_FIND_REQUIRED) if (HWLOC_FIND_REQUIRED)
if(NOT HWLOC_FIND_QUIETLY) if(NOT HWLOC_FIND_QUIETLY)
message(STATUS "Looking for hwloc : test of hwloc_topology_init with hwloc library fails") message(STATUS "Looking for hwloc : test of hwloc_topology_init with hwloc library fails")
......
...@@ -194,11 +194,7 @@ if(QUARK_LIBRARIES) ...@@ -194,11 +194,7 @@ if(QUARK_LIBRARIES)
check_function_exists(QUARK_New QUARK_WORKS) check_function_exists(QUARK_New QUARK_WORKS)
mark_as_advanced(QUARK_WORKS) mark_as_advanced(QUARK_WORKS)
if(QUARK_WORKS) if(NOT QUARK_WORKS)
set(QUARK_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES}")
set(QUARK_LIBRARY_DIRS "${QUARK_LIBRARY_DIRS}")
set(QUARK_INCLUDE_DIRS "${CMAKE_REQUIRED_INCLUDES}")
else()
if (QUARK_FIND_REQUIRED) if (QUARK_FIND_REQUIRED)
if(NOT QUARK_FIND_QUIETLY) if(NOT QUARK_FIND_QUIETLY)
message(STATUS "Looking for quark : test of QUARK_New with quark library fails") message(STATUS "Looking for quark : test of QUARK_New with quark library fails")
......
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