From caa2f6c15f1c8e7aa65da1f41210208c619d5f13 Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Thu, 26 Sep 2024 22:28:12 -0400 Subject: [PATCH] oneapi: use SHELL genex cmake syntax --- CMakeLists.txt | 2 +- cmake/compilers.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index df4f358..e395459 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.19...3.29) +cmake_minimum_required(VERSION 3.19...3.30) if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) message(FATAL_ERROR "Please specify build directory like: diff --git a/cmake/compilers.cmake b/cmake/compilers.cmake index 9bc6116..ee74c77 100644 --- a/cmake/compilers.cmake +++ b/cmake/compilers.cmake @@ -2,7 +2,7 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel") add_compile_options(-traceback -heap-arrays - "$<$:-warn;-debug;-check>" + "$<$:SHELL:-warn all;SHELL:-debug all;SHELL:-check all>" ) if(WIN32)