Updating Kokkos lib to v2.03.05
This commit is contained in:
18
lib/kokkos/cmake/KokkosConfig.cmake.in
Normal file
18
lib/kokkos/cmake/KokkosConfig.cmake.in
Normal file
@ -0,0 +1,18 @@
|
||||
# - Config file for the Kokkos package
|
||||
# It defines the following variables
|
||||
# Kokkos_INCLUDE_DIRS - include directories for Kokkos
|
||||
# Kokkos_LIBRARIES - libraries to link against
|
||||
|
||||
# Compute paths
|
||||
GET_FILENAME_COMPONENT(Kokkos_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
SET(Kokkos_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
|
||||
|
||||
# Our library dependencies (contains definitions for IMPORTED targets)
|
||||
IF(NOT TARGET kokkos AND NOT Kokkos_BINARY_DIR)
|
||||
INCLUDE("${Kokkos_CMAKE_DIR}/KokkosTargets.cmake")
|
||||
ENDIF()
|
||||
|
||||
# These are IMPORTED targets created by KokkosTargets.cmake
|
||||
SET(Kokkos_LIBRARY_DIRS @INSTALL_LIB_DIR@)
|
||||
SET(Kokkos_LIBRARIES @Kokkos_LIBRARIES_NAMES@)
|
||||
SET(Kokkos_TPL_LIBRARIES @KOKKOS_LIBS@)
|
||||
Reference in New Issue
Block a user