summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFortranInformation.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-24 14:26:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-11-24 14:26:31 (GMT)
commitb2de70a036cb3e1ae677b0a923c05276af4e6054 (patch)
tree5f243ab5086d2641c58d9826336a5044332984c3 /Modules/CMakeFortranInformation.cmake
parent2bcc63e5b5fe0612189400d2b6d3c13acc12e0af (diff)
parent9682de566e264c53018cccd05465f2c5d91ccf73 (diff)
downloadCMake-b2de70a036cb3e1ae677b0a923c05276af4e6054.zip
CMake-b2de70a036cb3e1ae677b0a923c05276af4e6054.tar.gz
CMake-b2de70a036cb3e1ae677b0a923c05276af4e6054.tar.bz2
Merge topic 'revert-compiler-links-statically'
9682de56 Revert "Disable shared library support when compiler links statically" (#15855)
Diffstat (limited to 'Modules/CMakeFortranInformation.cmake')
-rw-r--r--Modules/CMakeFortranInformation.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/CMakeFortranInformation.cmake b/Modules/CMakeFortranInformation.cmake
index aa48df7..79393d3 100644
--- a/Modules/CMakeFortranInformation.cmake
+++ b/Modules/CMakeFortranInformation.cmake
@@ -51,10 +51,6 @@ if(CMAKE_Fortran_SIZEOF_DATA_PTR)
unset(CMAKE_Fortran_ABI_FILES)
endif()
-if(CMAKE_Fortran_COMPILER_LINKS_STATICALLY)
- set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
-endif()
-
# This should be included before the _INIT variables are
# used to initialize the cache. Since the rule variables
# have if blocks on them, users can still define them here.