Rev | Line | |
---|
[136] | 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)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.