mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
always link to gfortran for gotoblas, it seems to be harmless for 1.x but needed for 2.x
This commit is contained in:
parent
240bfdd142
commit
0e8a532f87
@ -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})
|
find_library(GOTO_LIBRARIES gotoblas PATHS $ENV{GOTODIR} ${LIB_INSTALL_DIR})
|
||||||
|
|
||||||
if(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
|
if(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
|
||||||
set(GOTO_LIBRARIES ${GOTO_LIBRARIES} "-lpthread")
|
set(GOTO_LIBRARIES ${GOTO_LIBRARIES} "-lpthread -lgfortran")
|
||||||
endif(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
|
endif()
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(GOTO DEFAULT_MSG
|
find_package_handle_standard_args(GOTO DEFAULT_MSG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user