Skip to content

Commit 3ca1b38

Browse files
committed
Disable extensions
1 parent f5bd8f7 commit 3ca1b38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ set(XTENSOR_BLAS_TESTS
120120
)
121121

122122
add_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

126126
add_custom_target(xtest COMMAND test_xtensor_blas DEPENDS test_xtensor_blas)
127127
add_test(NAME xtest COMMAND test_xtensor_blas)

0 commit comments

Comments
 (0)