Skip to content

Commit

Permalink
fixed cxx version for unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dsantra92 committed Mar 10, 2024
1 parent e930a4a commit 7997a54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ add_subdirectory(Basic)

find_package(Kokkos)
if (Kokkos_FOUND)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
add_subdirectory(Kokkos)
endif(Kokkos_FOUND)

0 comments on commit 7997a54

Please sign in to comment.