File: FindTPLHPX.cmake

package info (click to toggle)
kokkos 5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 15,140 kB
  • sloc: cpp: 225,255; sh: 1,250; python: 78; makefile: 16; fortran: 4; ansic: 2
file content (10 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
find_package(HPX REQUIRED 1.8.0)
#as of right now, HPX doesn't export correctly
#so let's convert it to an interface target
kokkos_create_imported_tpl(HPX INTERFACE LINK_LIBRARIES ${HPX_LIBRARIES} INCLUDES ${HPX_INCLUDE_DIRS})
#this is a bit funky since this is a CMake target
#but HPX doesn't export itself correctly
kokkos_export_cmake_tpl(HPX)

#I would prefer all of this gets replaced with
#KOKKOS_IMPORT_CMAKE_TPL(HPX)