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

23 lines
429 B
CMake

#.rst:
#
# Find and link to ACML.
#
# Variables defined::
#
# ACML_FOUND
# ACML_LIBRARIES
# ACML_INCLUDE_DIR
#
# autocmake.yml 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()