Skip to content
Snippets Groups Projects
Commit 4abb9298 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

cmake: no more __FILE__ macros

parent a28081d2
No related branches found
No related tags found
1 merge request!71Remove the Fortran high-level interface
......@@ -28,10 +28,6 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
if(NOT CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_ON)
set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_ON -fpp)
endif()
else()
# Set line limit to none for GNU compiler (default is 132) to enable long
# __FILE__ macro:
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-ffree-line-length-none>)
endif()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment