autocmake/modules/math/goto.cmake
2016-05-19 23:46:32 +02:00

23 lines
430 B
CMake

#.rst:
#
# Find and link to Goto BLAS.
#
# Variables defined::
#
# GOTO_FOUND
# GOTO_LIBRARIES
# GOTO_INCLUDE_DIR
#
# autocmake.cfg configuration::
#
# docopt: --goto Find and link to GOTO [default: False].
# define: '-DENABLE_GOTO={0}'.format(arguments['--goto'])
option(ENABLE_GOTO "Find and link to GOTO" OFF)
if(ENABLE_GOTO)
set(BLA_VENDOR "Goto")
find_package(BLAS REQUIRED)
unset(BLA_VENDOR)
endif()