Skip to content

Commit

Permalink
Merge pull request kokkos#126 from cwpearson/fix/top-level-ctest
Browse files Browse the repository at this point in the history
allow ctest to run from the top level build
  • Loading branch information
cwpearson authored Nov 5, 2024
2 parents 8e177a9 + 0a5a137 commit b153676
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ endif()

add_subdirectory(src)
if(KOKKOSCOMM_ENABLE_TESTS)
enable_testing() # so we can run ctest at the top-level build dir
add_subdirectory(unit_tests)
endif()
if(KOKKOSCOMM_ENABLE_PERFTESTS)
enable_testing() # so we can run ctest at the top-level build dir
add_subdirectory(perf_tests)
endif()

Expand Down

0 comments on commit b153676

Please sign in to comment.