File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ set(XTENSOR_BLAS_TESTS
120120)
121121
122122add_executable (test_xtensor_blas ${XTENSOR_BLAS_TESTS} ${XTENSOR_BLAS_HEADERS} ${XTENSOR_HEADERS} )
123- #target_link_libraries (test_xtensor_blas ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} doctest::doctest ${CMAKE_THREAD_LIBS_INIT} )
124- target_link_libraries (test_xtensor_blas ${BLAS_LIBRARIES} doctest::doctest ${CMAKE_THREAD_LIBS_INIT} )
123+ set_target_properties (test_xtensor_blas PROPERTIES CMAKE_CXX_EXTENSIONS OFF )
124+ target_link_libraries (test_xtensor_blas ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} doctest::doctest ${CMAKE_THREAD_LIBS_INIT} )
125125
126126add_custom_target (xtest COMMAND test_xtensor_blas DEPENDS test_xtensor_blas)
127127add_test (NAME xtest COMMAND test_xtensor_blas)
You can’t perform that action at this time.
0 commit comments