remove static linking from tests

this will be implemented and tested externally
see #134
This commit is contained in:
Radovan Bast
2015-09-17 10:06:52 +02:00
parent b7e8a5442b
commit bed8a42945
8 changed files with 0 additions and 51 deletions

View File

@ -5,9 +5,6 @@ min_cmake_version: 2.8
[fc]
source: ../../../modules/fc.cmake
[static]
source: ../../../modules/static_linking.cmake
[int64]
source: ../../../modules/int64.cmake

View File

@ -3,12 +3,6 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES PGI)
list(REMOVE_ITEM CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-rdynamic")
endif()
if(CMAKE_Fortran_COMPILER_ID MATCHES Intel AND ENABLE_STATIC_LINKING)
# prevent "ifort: ... warning #10121: overriding '-static-intel' with
# '-i_dynamic'"
list(REMOVE_ITEM CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
endif()
if(BLAS_FOUND)
add_executable(example example.f90)
target_link_libraries(example ${MATH_LIBS})