diff options
author | Brad King <brad.king@kitware.com> | 2015-10-02 14:56:48 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-10-02 14:56:48 (GMT) |
commit | 487fe8c97d7067d7acf02c61ed6c8e7524c5f21b (patch) | |
tree | 2cf52f8aad9ce4002b0bfb0acaa890b828f878d2 /Tests | |
parent | 8deb0835e6dff3c15792790b95c83b3b8f8d8ff1 (diff) | |
parent | 7bc202ccd49b42eacac78d7494f7aab0599f9c7b (diff) | |
download | CMake-487fe8c97d7067d7acf02c61ed6c8e7524c5f21b.zip CMake-487fe8c97d7067d7acf02c61ed6c8e7524c5f21b.tar.gz CMake-487fe8c97d7067d7acf02c61ed6c8e7524c5f21b.tar.bz2 |
Merge topic 'test-VSGNUFortran-oracle-link'
7bc202cc Tests: Simplify VSGNUFortran Oracle-specific link lines
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt b/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt index 3ee1855..f68e38e 100644 --- a/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt +++ b/Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt @@ -35,12 +35,12 @@ add_library(hello SHARED hello.f) add_library(world SHARED world.f) target_link_libraries(hello world) if(CMAKE_Fortran_COMPILER_ID MATCHES SunPro) - target_link_libraries(hello fsu) + target_link_libraries(hello PRIVATE fsu) if(CMAKE_Fortran_PLATFORM_ID MATCHES SunOS) - target_link_libraries(hello sunmath m) + target_link_libraries(hello PRIVATE sunmath m) test_sunquad(CMAKE_HAS_SUNQUAD) if(CMAKE_HAS_SUNQUAD) - target_link_libraries(hello sunquad) + target_link_libraries(hello PRIVATE sunquad) endif() endif() endif() |