From 2f17c8836075a0eb4f77c88a750a7b8293ad8f4b Mon Sep 17 00:00:00 2001 From: River <26424577+wusatosi@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:39:45 -0500 Subject: [PATCH] Apply updated [CMAKE.SKIP_TESTS] --- .github/workflows/ci_tests.yml | 2 +- CMakeLists.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 7c62dd5..25da7d0 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -108,7 +108,7 @@ jobs: matrix: args: - name: "Disable build testing" - arg: "-DBEMAN_EXEMPLAR_BUILD_TESTING=OFF" + arg: "-DBEMAN_EXEMPLAR_BUILD_TESTS=OFF" - name: "Disable example building" arg: "-DBEMAN_EXEMPLAR_BUILD_EXAMPLES=OFF" name: "CMake: ${{ matrix.args.name }}" diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e73ca3..65443dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ project( # [CMAKE.SKIP_TESTS] option( - BEMAN_EXEMPLAR_BUILD_TESTING + BEMAN_EXEMPLAR_BUILD_TESTS "Enable building tests and test infrastructure. Default: ON. Values: { ON, OFF }." ${PROJECT_IS_TOP_LEVEL} ) @@ -27,7 +27,7 @@ include(CTest) include(FetchContent) include(GNUInstallDirs) -if(BEMAN_EXEMPLAR_BUILD_TESTING) +if(BEMAN_EXEMPLAR_BUILD_TESTS) enable_testing() # Fetch GoogleTest @@ -47,7 +47,7 @@ endif() add_subdirectory(src/beman/exemplar) -if(BEMAN_EXEMPLAR_BUILD_TESTING) +if(BEMAN_EXEMPLAR_BUILD_TESTS) add_subdirectory(tests/beman/exemplar) endif()