Skip to content

Commit

Permalink
KokkosKernels: Use KOKKOSKERNELS_INCLUDE_DIRECTORIES() (TriBITSPub/Tr…
Browse files Browse the repository at this point in the history
…iBITS#429)

This replaces the usage of raw include_directories() with the wrapper
KOKKOSKERNELS_INCLUDE_DIRECTORIES().

The deprecated TriBITS macro include_directories() now issues a CMake
Deprecation warning.  The fix is to use tribits_include_directories() in a
TriBITS build instead.

This is the same patch made in Trilinos PR trilinos/Trilinos#11380.
  • Loading branch information
bartlettroscoe committed Dec 21, 2022
1 parent 4c06b6c commit b49d7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perf_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (KokkosKernels_ENABLE_PERFTESTS)
#Gtest minimally requires C++ 11
TARGET_COMPILE_FEATURES(kokkoskernelsperf_gtest PUBLIC cxx_std_11)

include_directories(sparse)
KOKKOSKERNELS_INCLUDE_DIRECTORIES(sparse)

if(Kokkos_ENABLE_TESTS_AND_PERFSUITE)
#Add RPS implementations of KK perf tests here
Expand Down

0 comments on commit b49d7c2

Please sign in to comment.