Skip to content

Commit

Permalink
oneapi: use SHELL genex cmake syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Sep 27, 2024
1 parent f48ad91 commit caa2f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cmake/compilers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
add_compile_options(-traceback -heap-arrays
"$<$<CONFIG:Debug,RelWithDebInfo>:-warn;-debug;-check>"
"$<$<CONFIG:Debug,RelWithDebInfo>:SHELL:-warn all;SHELL:-debug all;SHELL:-check all>"
)

if(WIN32)
Expand Down

0 comments on commit caa2f6c

Please sign in to comment.