From e2292ab34cdf8199376f76835840a3574255a9a7 Mon Sep 17 00:00:00 2001 From: Saveliy Borisov <94908850+Amazingkivas@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:11:51 +0300 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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)