diff options
author | Tony Theodore <tonyt@logyst.com> | 2018-03-20 12:26:24 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2018-03-20 12:26:24 (GMT) |
commit | ed9dc43988916986214cda2643c8f7c21fda2ef5 (patch) | |
tree | 67295a6d213f45a0b4b96b933be031d1e3859618 /src/openblas-test.cmake | |
parent | 31d99c63bd02b15b6e6dfd8074740474de78563f (diff) | |
download | mxe-ed9dc43988916986214cda2643c8f7c21fda2ef5.zip mxe-ed9dc43988916986214cda2643c8f7c21fda2ef5.tar.gz mxe-ed9dc43988916986214cda2643c8f7c21fda2ef5.tar.bz2 |
openblas: add cmake test program
closes #2081
Diffstat (limited to 'src/openblas-test.cmake')
-rw-r--r-- | src/openblas-test.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/openblas-test.cmake b/src/openblas-test.cmake new file mode 100644 index 0000000..27bce29 --- /dev/null +++ b/src/openblas-test.cmake @@ -0,0 +1,13 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +# partial module - included by src/cmake/CMakeLists.txt + +set(TGT test-${PKG}-cmake) + +enable_language(C) +add_executable(${TGT} ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.c) + +find_package(BLAS REQUIRED) +target_link_libraries(${TGT} ${BLAS_LIBRARIES}) + +install(TARGETS ${TGT} DESTINATION bin) |