|
|
@ -364,14 +364,14 @@ add_imported_library(sylvan STATIC ${Sylvan_LIBRARY} ${Sylvan_INCLUDE_DIR}) |
|
|
|
add_dependencies(sylvan_STATIC sylvan) |
|
|
|
list(APPEND STORM_DEP_TARGETS sylvan_STATIC) |
|
|
|
|
|
|
|
if(${OPERATING_SYSTEM} MATCHES "Linux") |
|
|
|
find_package(Hwloc QUIET REQUIRED) |
|
|
|
if(HWLOC_FOUND) |
|
|
|
message(STATUS "Storm - Linking with hwloc ${HWLOC_VERSION}.") |
|
|
|
add_imported_library(hwloc STATIC ${HWLOC_LIBRARIES} "") |
|
|
|
list(APPEND STORM_DEP_TARGETS hwloc_STATIC) |
|
|
|
else() |
|
|
|
message(FATAL_ERROR "HWLOC is required but was not found.") |
|
|
|
find_package(Hwloc QUIET REQUIRED) |
|
|
|
if(HWLOC_FOUND) |
|
|
|
message(STATUS "Storm - Linking with hwloc ${HWLOC_VERSION}.") |
|
|
|
add_imported_library(hwloc STATIC ${HWLOC_LIBRARIES} "") |
|
|
|
list(APPEND STORM_DEP_TARGETS hwloc_STATIC) |
|
|
|
else() |
|
|
|
if(${OPERATING_SYSTEM} MATCHES "Linux") |
|
|
|
message(FATAL_ERROR "HWLOC is required on Linux but was not found.") |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|