new test for lapack added, all fc tests fixed for PGI Fortran

This commit is contained in:
Miro ILIAS
2015-08-02 13:37:50 +02:00
parent f7b1b854aa
commit 7d192205aa
7 changed files with 76 additions and 2 deletions

View File

@ -1,4 +1,10 @@
if(BLAS_FOUND)
if(CMAKE_Fortran_COMPILER_ID MATCHES PGI)
# remove -rdynamic flag offensive to PGI Fortran
SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS)
endif()
add_executable(example example.f90)
target_link_libraries(example ${MATH_LIBS})
else()