Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed wrong NAG Fortran compiler flag / definition for strlen type on…
… Linux
  • Loading branch information
ACSimon33 committed Jun 20, 2024
commit b8ee7a533e9091a92b56c2cc8d71c955676eb5e9
2 changes: 1 addition & 1 deletion CMAKE/CheckLAPACKCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ macro(CheckLAPACKCompilerFlags)
get_directory_property(COMP_OPTIONS COMPILE_OPTIONS)

if(NOT("${CMAKE_Fortran_FLAGS};${COMP_OPTIONS}" MATCHES "-abi=64c"))
add_compile_options("$<$<COMPILE_LANGUAGE:Fortran>:FORTRAN_STRLEN=int>")
add_compile_definitions("$<$<COMPILE_LANGUAGE:C>:FORTRAN_STRLEN=int>")
endif()
endif()
endif()
Expand Down