File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ target_include_directories(xtensor-blas
8080 $<INSTALL_INTERFACE:include >)
8181
8282target_compile_features (xtensor-blas INTERFACE cxx_std_20)
83+ set_target_properties (xtensor-blas PROPERTIES CMAKE_CXX_EXTENSIONS OFF )
8384
8485OPTION (CXXBLAS_DEBUG "print cxxblas debug information" OFF )
8586OPTION (XTENSOR_USE_FLENS_BLAS "use FLENS generic implementation instead of cblas" OFF )
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