[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.25 1.26

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jul 27 12:43:30 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/Fortran
In directory public:/mounts/ram/cvs-serv32487/Tests/Fortran

Modified Files:
	CMakeLists.txt 
Log Message:
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.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Fortran/CMakeLists.txt,v
retrieving revision 1.25
retrieving revision 1.26
diff -C 2 -d -r1.25 -r1.26
*** CMakeLists.txt	24 Feb 2009 19:32:31 -0000	1.25
--- CMakeLists.txt	27 Jul 2009 16:43:27 -0000	1.26
***************
*** 63,71 ****
    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)
--- 63,66 ----



More information about the Cmake-commits mailing list