From 7427993fc1756bc2c94627246f50694676248294 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 23 Feb 2023 12:15:28 +0100 Subject: [PATCH] build: building of linear algebra based examples temporarily disabled in CMake --- example/aliases/CMakeLists.txt | 7 ++++--- example/literals/CMakeLists.txt | 7 ++++--- example/references/CMakeLists.txt | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/example/aliases/CMakeLists.txt b/example/aliases/CMakeLists.txt index ba27ce60..089b4770 100644 --- a/example/aliases/CMakeLists.txt +++ b/example/aliases/CMakeLists.txt @@ -57,7 +57,8 @@ if(NOT ${projectPrefix}LIBCXX) glide_computer_example-aliases PRIVATE ${projectPrefix}NO_LITERALS ${projectPrefix}NO_REFERENCES ) - find_package(wg21_linear_algebra CONFIG REQUIRED) - add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) - target_link_libraries(linear_algebra-aliases PRIVATE wg21_linear_algebra::wg21_linear_algebra) + # TODO uncomment the below when recipes in ConanCenter are fixed + # find_package(wg21_linear_algebra CONFIG REQUIRED) + # add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) + # target_link_libraries(linear_algebra-aliases PRIVATE wg21_linear_algebra::wg21_linear_algebra) endif() diff --git a/example/literals/CMakeLists.txt b/example/literals/CMakeLists.txt index 13f5adb4..218d1aa5 100644 --- a/example/literals/CMakeLists.txt +++ b/example/literals/CMakeLists.txt @@ -56,7 +56,8 @@ if(NOT ${projectPrefix}LIBCXX) glide_computer_example-literals PRIVATE ${projectPrefix}NO_REFERENCES ${projectPrefix}NO_ALIASES ) - find_package(wg21_linear_algebra CONFIG REQUIRED) - add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) - target_link_libraries(linear_algebra-literals PRIVATE wg21_linear_algebra::wg21_linear_algebra) + # TODO uncomment the below when recipes in ConanCenter are fixed + # find_package(wg21_linear_algebra CONFIG REQUIRED) + # add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) + # target_link_libraries(linear_algebra-literals PRIVATE wg21_linear_algebra::wg21_linear_algebra) endif() diff --git a/example/references/CMakeLists.txt b/example/references/CMakeLists.txt index ee75f6c2..7adcabaa 100644 --- a/example/references/CMakeLists.txt +++ b/example/references/CMakeLists.txt @@ -56,7 +56,8 @@ if(NOT ${projectPrefix}LIBCXX) glide_computer_example-references PRIVATE ${projectPrefix}NO_LITERALS ${projectPrefix}NO_ALIASES ) - find_package(wg21_linear_algebra CONFIG REQUIRED) - add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) - target_link_libraries(linear_algebra-references PRIVATE wg21_linear_algebra::wg21_linear_algebra) + # TODO uncomment the below when recipes in ConanCenter are fixed + # find_package(wg21_linear_algebra CONFIG REQUIRED) + # add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) + # target_link_libraries(linear_algebra-references PRIVATE wg21_linear_algebra::wg21_linear_algebra) endif()