Skip to content

Commit

Permalink
Merge pull request #78 from wusatosi/build_test_change
Browse files Browse the repository at this point in the history
Apply updated [CMAKE.SKIP_TESTS]
  • Loading branch information
wusatosi authored Nov 14, 2024
2 parents 849f0bd + 2f17c88 commit 54429a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)
Expand All @@ -27,7 +27,7 @@ include(CTest)
include(FetchContent)
include(GNUInstallDirs)

if(BEMAN_EXEMPLAR_BUILD_TESTING)
if(BEMAN_EXEMPLAR_BUILD_TESTS)
enable_testing()

# Fetch GoogleTest
Expand All @@ -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()

Expand Down

0 comments on commit 54429a4

Please sign in to comment.