Merge topic 'test-VSGNUFortran-oracle-link'
7bc202cc
Tests: Simplify VSGNUFortran Oracle-specific link lines
This commit is contained in:
commit
487fe8c97d
|
@ -35,12 +35,12 @@ add_library(hello SHARED hello.f)
|
||||||
add_library(world SHARED world.f)
|
add_library(world SHARED world.f)
|
||||||
target_link_libraries(hello world)
|
target_link_libraries(hello world)
|
||||||
if(CMAKE_Fortran_COMPILER_ID MATCHES SunPro)
|
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)
|
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)
|
test_sunquad(CMAKE_HAS_SUNQUAD)
|
||||||
if(CMAKE_HAS_SUNQUAD)
|
if(CMAKE_HAS_SUNQUAD)
|
||||||
target_link_libraries(hello sunquad)
|
target_link_libraries(hello PRIVATE sunquad)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue