fixed: add implicit linked fortran libraries when to IFEM_LIBRARIES

these are not automatically added by cmake since the executable may
no hold fortran code. fixes builds without use of IFEM_AS_SUBMODULE

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3005 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
akva
2014-11-10 10:59:44 +00:00
committed by Knut Morten Okstad
parent cdc6de3421
commit 656e535b7b

View File

@@ -102,6 +102,7 @@ IF(IFEM_PATH OR IFEM_AS_SUBMODULE)
SET(IFEM_USE_GETBEAM OFF)
ENDIF(GETB_LIBRARIES)
ENDIF(IFEM_USE_GETBEAM)
set(IFEM_LIBRARIES ${IFEM_LIBRARIES} ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
ENDIF(IFEM_AS_SUBMODULE)
add_custom_target(check-commits
COMMAND ${CMAKE_COMMAND}