summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux-LCC-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Linux-LCC-Fortran.cmake')
-rw-r--r--Modules/Platform/Linux-LCC-Fortran.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-LCC-Fortran.cmake b/Modules/Platform/Linux-LCC-Fortran.cmake
index 166c06a..308c771 100644
--- a/Modules/Platform/Linux-LCC-Fortran.cmake
+++ b/Modules/Platform/Linux-LCC-Fortran.cmake
@@ -4,4 +4,6 @@ if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL "1.26.03")
set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-lgfortran")
elseif (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL "1.24.01")
set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-llfortran")
+else()
+ unset(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE)
endif()