summaryrefslogtreecommitdiff
path: root/Tests/VSGNUFortran
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2020-12-22 13:07:48 -0700
committerBrad King <brad.king@kitware.com>2021-03-31 09:14:38 -0400
commita55feff69c7967d56e0935d841cf1ea2c980a43a (patch)
tree4282b5a57c3a20aadc19e0d6a649b53c51ac6f65 /Tests/VSGNUFortran
parent3c867cff4a98bb198211e3d9f8494fbb478a29e4 (diff)
downloadcmake-a55feff69c7967d56e0935d841cf1ea2c980a43a.tar.gz
Tests: Update for the Fujitsu compiler
Diffstat (limited to 'Tests/VSGNUFortran')
-rw-r--r--Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt b/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt
index abd0628365..950ec25d53 100644
--- a/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt
+++ b/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt
@@ -43,4 +43,9 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES SunPro)
target_link_libraries(hello PRIVATE sunquad)
endif()
endif()
+elseif(CMAKE_Fortran_COMPILER_ID MATCHES Fujitsu)
+ # Fujitsu Fortran doesn't automatically link its runtime libraries into
+ # SOs
+ target_link_libraries(world PRIVATE fj90i fj90f fjsrcinfo)
+ target_link_libraries(hello PRIVATE fj90i fj90f fjsrcinfo)
endif()