We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56dbda commit b8ee7a5Copy full SHA for b8ee7a5
CMAKE/CheckLAPACKCompilerFlags.cmake
@@ -126,7 +126,7 @@ macro(CheckLAPACKCompilerFlags)
126
get_directory_property(COMP_OPTIONS COMPILE_OPTIONS)
127
128
if(NOT("${CMAKE_Fortran_FLAGS};${COMP_OPTIONS}" MATCHES "-abi=64c"))
129
- add_compile_options("$<$<COMPILE_LANGUAGE:Fortran>:FORTRAN_STRLEN=int>")
+ add_compile_definitions("$<$<COMPILE_LANGUAGE:C>:FORTRAN_STRLEN=int>")
130
endif()
131
132
0 commit comments