Browse Source

hwloc target fix (essential for linux)

tempestpy_adaptions
sjunges 8 years ago
parent
commit
95532b3b5a
  1. 4
      resources/3rdparty/CMakeLists.txt

4
resources/3rdparty/CMakeLists.txt

@ -367,8 +367,8 @@ if(${OPERATING_SYSTEM} MATCHES "Linux")
find_package(Hwloc QUIET REQUIRED) find_package(Hwloc QUIET REQUIRED)
if(HWLOC_FOUND) if(HWLOC_FOUND)
message(STATUS "Storm - Linking with hwloc ${HWLOC_VERSION}.") message(STATUS "Storm - Linking with hwloc ${HWLOC_VERSION}.")
add_imported_library(hwloc "" ${Hwloc_LIBRARIES})
list(APPEND STORM_DEP_TARGETS hwloc)
add_imported_library(hwloc STATIC ${HWLOC_LIBRARIES} "")
list(APPEND STORM_DEP_TARGETS hwloc_STATIC)
else() else()
message(FATAL_ERROR "HWLOC is required but was not found.") message(FATAL_ERROR "HWLOC is required but was not found.")
endif() endif()

Loading…
Cancel
Save