source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/bench/btl/cmake/FindGOTO.cmake

Last change on this file was 136, checked in by ldecherf, 8 years ago

Doc

File size: 409 bytes
Line 
1
2if (GOTO_LIBRARIES)
3 set(GOTO_FIND_QUIETLY TRUE)
4endif (GOTO_LIBRARIES)
5
6find_library(GOTO_LIBRARIES goto PATHS $ENV{GOTODIR} ${LIB_INSTALL_DIR})
7
8if(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
9 set(GOTO_LIBRARIES ${GOTO_LIBRARIES} "-lpthread -lgfortran")
10endif()
11
12include(FindPackageHandleStandardArgs)
13find_package_handle_standard_args(GOTO DEFAULT_MSG GOTO_LIBRARIES)
14
15mark_as_advanced(GOTO_LIBRARIES)
Note: See TracBrowser for help on using the repository browser.