build: linear_algebra test disables as the latest version of the LA lib is broken

This commit is contained in:
Mateusz Pusz
2023-05-26 15:28:54 +02:00
parent 52bbd00ab4
commit 4788aa64be
3 changed files with 6 additions and 6 deletions

View File

@ -27,6 +27,9 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
set(projectPrefix UNITS_)
option(${projectPrefix}BUILD_LA "Build code depending on the linear algebra library" ON)
message(STATUS "${projectPrefix}BUILD_LA: ${${projectPrefix}BUILD_LA}")
# make sure that the file is being used as an entry point
include(modern_project_structure)
ensure_entry_point()

View File

@ -80,7 +80,7 @@ class MPUnitsConan(ConanFile):
@property
def _skip_la(self):
return bool(self.conf.get("user.build:skip_la", default=False))
return bool(self.conf.get("user.build:skip_la", default=True))
@property
def _skip_docs(self):

View File

@ -23,12 +23,9 @@
cmake_minimum_required(VERSION 3.2)
find_package(Catch2 3 CONFIG REQUIRED)
find_package(wg21_linear_algebra CONFIG REQUIRED)
add_executable(unit_tests_runtime distribution_test.cpp fmt_test.cpp linear_algebra_test.cpp math_test.cpp)
target_link_libraries(
unit_tests_runtime PRIVATE mp-units::mp-units Catch2::Catch2WithMain wg21_linear_algebra::wg21_linear_algebra
)
add_executable(unit_tests_runtime distribution_test.cpp fmt_test.cpp math_test.cpp)
target_link_libraries(unit_tests_runtime PRIVATE mp-units::mp-units Catch2::Catch2WithMain)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_compile_options(