mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
16 lines
409 B
CMake
16 lines
409 B
CMake
|
|
if (GOTO_LIBRARIES)
|
|
set(GOTO_FIND_QUIETLY TRUE)
|
|
endif (GOTO_LIBRARIES)
|
|
|
|
find_library(GOTO_LIBRARIES goto PATHS $ENV{GOTODIR} ${LIB_INSTALL_DIR})
|
|
|
|
if(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 GOTO_LIBRARIES)
|
|
|
|
mark_as_advanced(GOTO_LIBRARIES)
|