diff options
author | Brad King <brad.king@kitware.com> | 2009-07-27 16:43:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-27 16:43:27 (GMT) |
commit | 1c98cdf2243313932eec329efcad5180591e177b (patch) | |
tree | c566c24d7f608ec73cf54887c223991c96446959 /Tests | |
parent | 0de8be8b49fd073d3746095e4e9ed96155a5edc1 (diff) | |
download | CMake-1c98cdf2243313932eec329efcad5180591e177b.zip CMake-1c98cdf2243313932eec329efcad5180591e177b.tar.gz CMake-1c98cdf2243313932eec329efcad5180591e177b.tar.bz2 |
ENH: Remove EXTRA_FORTRAN_C_LIBS Fortran test hack
This hack was created to help the Fortran test executables link to the
implicit C libraries added by BullsEye. Now that implicit libraries
from all languages are detected and included automatically the hack is
no longer needed.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Fortran/CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt index e4fc4c2..d11d299 100644 --- a/Tests/Fortran/CMakeLists.txt +++ b/Tests/Fortran/CMakeLists.txt @@ -62,11 +62,6 @@ function(test_fortran_c_interface_module) message("Fortran = ${CMAKE_Fortran_COMPILER_ID}") message("C = ${CMAKE_C_COMPILER_ID}") add_executable(foo ${srcs}) - if(NOT ("$ENV{EXTRA_FORTRAN_C_LIBS}" STREQUAL "")) - message(STATUS - "linking in extra C to Fortran libs $ENV{EXTRA_FORTRAN_C_LIBS}") - target_link_libraries(foo $ENV{EXTRA_FORTRAN_C_LIBS}) - endif() # print out some stuff to help debug on machines via cdash file(READ "${testf_BINARY_DIR}/foo.h" fooh) message("foo.h contents:\n${fooh}") |