Skip to content

Commit

Permalink
link against hpx_core
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorostsa committed Feb 15, 2024
1 parent 1798cbc commit 5b5ac33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmake/FindStdexec.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,5 @@ if(NOT TARGET STDEXEC::stdexec)
add_library(STDEXEC::stdexec INTERFACE IMPORTED)
target_include_directories(STDEXEC::stdexec SYSTEM INTERFACE ${Stdexec_INCLUDE_DIR})




mark_as_advanced(Stdexec_INCLUDE_DIR Stdexec_ROOT)
endif()
9 changes: 9 additions & 0 deletions libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ if(TARGET APEX::apex)
target_link_libraries(hpx_full INTERFACE APEX::apex)
endif()

# Do I need this here?
# if(TARGET STDEXEC::stdexec)
# target_link_libraries(hpx_full INTERFACE STDEXEC::stdexec)
# endif()

if(TARGET Gperftools::gperftools)
target_link_libraries(hpx_full PRIVATE Gperftools::gperftools)
endif()
Expand Down Expand Up @@ -376,6 +381,10 @@ if(HPX_WITH_ITTNOTIFY)
target_link_libraries(hpx_core PUBLIC Amplifier::amplifier)
endif()

if(TARGET STDEXEC::stdexec)
target_link_libraries(hpx_core INTERFACE STDEXEC::stdexec)
endif()

if(HPX_WITH_PARCELPORT_GASNET AND GASNET_LIBRARY_DIRS)
target_link_directories(hpx_core PUBLIC ${GASNET_LIBRARY_DIRS})
endif()
Expand Down

0 comments on commit 5b5ac33

Please sign in to comment.