kokkos: set CMAKE_CXX_STANDARD instead of Kokkos_CXX_STANDARD (#31841)

* kokkos@develop: set CMAKE_CXX_STANDARD instead of Kokkos_CXX_STANDARD

* use CMAKE_CXX_STANDARD regardless of kokkos version
This commit is contained in:
eugeneswalker 2022-08-01 16:12:32 -07:00 committed by Harmen Stoppels
parent 546c8a3092
commit 8d8aa5c6cf

View file

@ -266,7 +266,7 @@ def cmake_args(self):
options = [ options = [
from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"), from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"),
from_variant("Kokkos_CXX_STANDARD", "std"), from_variant("CMAKE_CXX_STANDARD", "std"),
from_variant("BUILD_SHARED_LIBS", "shared"), from_variant("BUILD_SHARED_LIBS", "shared"),
] ]