diff --git a/example/aliases/CMakeLists.txt b/example/aliases/CMakeLists.txt index 71f1f63a..22c10ef0 100644 --- a/example/aliases/CMakeLists.txt +++ b/example/aliases/CMakeLists.txt @@ -51,9 +51,7 @@ if(NOT UNITS_LIBCXX) UNITS_NO_REFERENCES ) - if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "11.1.0")) - 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() + 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 7e3cf556..5da510ca 100644 --- a/example/literals/CMakeLists.txt +++ b/example/literals/CMakeLists.txt @@ -50,9 +50,7 @@ if(NOT UNITS_LIBCXX) UNITS_NO_ALIASES ) - if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "11.1.0")) - 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() + 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 06b6698c..750d38c4 100644 --- a/example/references/CMakeLists.txt +++ b/example/references/CMakeLists.txt @@ -50,9 +50,7 @@ if(NOT UNITS_LIBCXX) UNITS_NO_ALIASES ) - if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "11.1.0")) - 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() + 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()