summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIsuru Fernando <isuruf@gmail.com>2017-08-01 15:10:41 +0530
committerIsuru Fernando <isuruf@gmail.com>2017-08-01 15:16:14 +0530
commitd245caa49a6f41a90a77ed885e526838132ddec3 (patch)
tree94f7036850878bb5ba1a4f315b2d4e2717c3009a /test
parentc9c13a8a0c7b6aca3d26b2249702e711d7d1e95f (diff)
downloadopenblas-d245caa49a6f41a90a77ed885e526838132ddec3.tar.gz
openblas-d245caa49a6f41a90a77ed885e526838132ddec3.tar.bz2
openblas-d245caa49a6f41a90a77ed885e526838132ddec3.zip
Support out-of-source build
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 5e9baf928..69a1ceb91 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,4 +1,5 @@
include_directories(${PROJECT_SOURCE_DIR})
+include_directories(${PROJECT_BINARY_DIR})
enable_language(Fortran)
@@ -35,4 +36,4 @@ add_test(NAME "${float_type}blas2"
COMMAND sh "${CMAKE_CURRENT_BINARY_DIR}/test_helper.sh" "${CMAKE_CURRENT_BINARY_DIR}/${float_type}blat2" "${PROJECT_SOURCE_DIR}/test/${float_type}blat2.dat" ${float_type_upper}BLAT2.SUMM)
add_test(NAME "${float_type}blas3"
COMMAND sh "${CMAKE_CURRENT_BINARY_DIR}/test_helper.sh" "${CMAKE_CURRENT_BINARY_DIR}/${float_type}blat3" "${PROJECT_SOURCE_DIR}/test/${float_type}blat3.dat" ${float_type_upper}BLAT3.SUMM)
-endforeach() \ No newline at end of file
+endforeach()