You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
409 B

  1. if (GOTO_LIBRARIES)
  2. set(GOTO_FIND_QUIETLY TRUE)
  3. endif (GOTO_LIBRARIES)
  4. find_library(GOTO_LIBRARIES goto PATHS $ENV{GOTODIR} ${LIB_INSTALL_DIR})
  5. if(GOTO_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
  6. set(GOTO_LIBRARIES ${GOTO_LIBRARIES} "-lpthread -lgfortran")
  7. endif()
  8. include(FindPackageHandleStandardArgs)
  9. find_package_handle_standard_args(GOTO DEFAULT_MSG GOTO_LIBRARIES)
  10. mark_as_advanced(GOTO_LIBRARIES)