Home | History | Annotate | Download | only in cmake
      1 
      2 if (GOTO_LIBRARIES)
      3   set(GOTO_FIND_QUIETLY TRUE)
      4 endif (GOTO_LIBRARIES)
      5 
      6 find_library(GOTO_LIBRARIES goto PATHS $ENV{GOTODIR} ${LIB_INSTALL_DIR})
      7 
      8 if(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
      9   set(GOTO_LIBRARIES ${GOTO_LIBRARIES} "-lpthread -lgfortran")
     10 endif()
     11 
     12 include(FindPackageHandleStandardArgs)
     13 find_package_handle_standard_args(GOTO DEFAULT_MSG GOTO_LIBRARIES)
     14 
     15 mark_as_advanced(GOTO_LIBRARIES)
     16