Skip to content

Commit

Permalink
-O1?
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfonba committed Feb 13, 2024
1 parent 717d76a commit 9ef8f51
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ if (MFC_ALL)
set(MFC_DOCUMENTATION ON FORCE)
endif()

# Overwrite CMAKE's optimization levels if specified
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# CMake Library Imports

include(GNUInstallDirs)
Expand Down Expand Up @@ -139,7 +136,7 @@ elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Flang")
$<$<COMPILE_LANGUAGE:Fortran>:-fdefault-real-8>
)
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-O2>)
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-O1>)
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-free>)

if (CMAKE_BUILD_TYPE STREQUAL "Debug")
Expand Down

0 comments on commit 9ef8f51

Please sign in to comment.