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

23 lines
425 B
CMake

#.rst:
#
# Find and link to ACML.
#
# Variables defined::
#
# ACML_FOUND
# ACML_LIBRARIES
# ACML_INCLUDE_DIR
#
# autocmake.cfg configuration::
#
# docopt: --acml Find and link to ACML [default: False].
# define: '-DENABLE_ACML={0}'.format(arguments['--acml'])
option(ENABLE_ACML "Find and link to ACML" OFF)
if(ENABLE_ACML)
set(BLA_VENDOR "ACML")
find_package(BLAS REQUIRED)
unset(BLA_VENDOR)
endif()