summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-02 14:56:48 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-02 14:56:48 (GMT)
commit487fe8c97d7067d7acf02c61ed6c8e7524c5f21b (patch)
tree2cf52f8aad9ce4002b0bfb0acaa890b828f878d2
parent8deb0835e6dff3c15792790b95c83b3b8f8d8ff1 (diff)
parent7bc202ccd49b42eacac78d7494f7aab0599f9c7b (diff)
downloadCMake-487fe8c97d7067d7acf02c61ed6c8e7524c5f21b.zip
CMake-487fe8c97d7067d7acf02c61ed6c8e7524c5f21b.tar.gz
CMake-487fe8c97d7067d7acf02c61ed6c8e7524c5f21b.tar.bz2
Merge topic 'test-VSGNUFortran-oracle-link'
7bc202cc Tests: Simplify VSGNUFortran Oracle-specific link lines
-rw-r--r--Tests/VSGNUFortran/subdir/fortran/CMakeLists.txt6
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()