aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-01-26 19:16:06 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-01-26 19:16:06 +0100
commit0e8a532f8769fc56b439e7b5b412d600fde383f9 (patch)
tree8211a570e59c4e45dbf6b1850a510bcf941d7619 /bench/btl
parent240bfdd1421834c319ee9e5ef7e8668cc9c56d3d (diff)
always link to gfortran for gotoblas, it seems to be harmless for 1.x but needed for 2.x
Diffstat (limited to 'bench/btl')
-rw-r--r--bench/btl/cmake/FindGOTO.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/btl/cmake/FindGOTO.cmake b/bench/btl/cmake/FindGOTO.cmake
index ad7eb3200..eb8b75b24 100644
--- a/bench/btl/cmake/FindGOTO.cmake
+++ b/bench/btl/cmake/FindGOTO.cmake
@@ -16,8 +16,8 @@ find_file(GOTO_LIBRARIES libgotoblas.so PATHS /usr/lib $ENV{GOTODIR} ${LIB_INSTA
find_library(GOTO_LIBRARIES gotoblas PATHS $ENV{GOTODIR} ${LIB_INSTALL_DIR})
if(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
- set(GOTO_LIBRARIES ${GOTO_LIBRARIES} "-lpthread")
-endif(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
+ set(GOTO_LIBRARIES ${GOTO_LIBRARIES} "-lpthread -lgfortran")
+endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GOTO DEFAULT_MSG