summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineFortranCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-26 18:41:23 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-02 13:51:43 (GMT)
commitf6c21894952fb07e50e511efaa3baded794d631f (patch)
tree0a84df6956e03263746549c4c8fc29b9b871d036 /Modules/CMakeDetermineFortranCompiler.cmake
parent0c7951a9397f4703d61d346c64c27a99a30f4dac (diff)
downloadCMake-f6c21894952fb07e50e511efaa3baded794d631f.zip
CMake-f6c21894952fb07e50e511efaa3baded794d631f.tar.gz
CMake-f6c21894952fb07e50e511efaa3baded794d631f.tar.bz2
Modules: Rename internal platform-specific compiler determination modules
Rename Modules/Platform/<os>-<lang>.cmake files to Modules/Platform/<os>-Determine-<lang>.cmake to clarify their role. For compatibility with user-provided modules, load the old names if they exist.
Diffstat (limited to 'Modules/CMakeDetermineFortranCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineFortranCompiler.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 4f2a70c..0f27a78 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -20,6 +20,7 @@
# as a default compiler
include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake)
+include(Platform/${CMAKE_SYSTEM_NAME}-Determine-Fortran OPTIONAL)
include(Platform/${CMAKE_SYSTEM_NAME}-Fortran OPTIONAL)
if(NOT CMAKE_Fortran_COMPILER_NAMES)
set(CMAKE_Fortran_COMPILER_NAMES f95)