Skip to content

Commit

Permalink
Allow KokkosKernels_ENABLE_PERFTESTS=ON to build perf_tests without K…
Browse files Browse the repository at this point in the history
…okkosKernels_ENABLE_TESTS=ON
  • Loading branch information
cwpearson committed Dec 1, 2023
1 parent a80eb91 commit 745a7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ ELSE()
IF (KOKKOSKERNELS_ALL_COMPONENTS_ENABLED)
IF (KokkosKernels_ENABLE_PERFTESTS)
MESSAGE(STATUS "Enabling perf tests.")
KOKKOSKERNELS_ADD_TEST_DIRECTORIES(perf_test)
add_subdirectory(perf_test) # doesn't require KokkosKernels_ENABLE_TESTS=ON
ENDIF ()
IF (KokkosKernels_ENABLE_EXAMPLES)
MESSAGE(STATUS "Enabling examples.")
Expand Down

0 comments on commit 745a7b2

Please sign in to comment.