diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d85b99..6dd4d34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,10 @@ cmake_minimum_required(VERSION 3.0) -project(FDTD) +project(FDTD LANGUAGES CXX) + +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED True) +set(CMAKE_CXX_EXTENSIONS OFF) find_package(OpenMP REQUIRED) @@ -66,4 +70,4 @@ find_package(Kokkos REQUIRED) add_subdirectory(project) add_subdirectory(test) -add_subdirectory(samples) \ No newline at end of file +add_subdirectory(samples)