Skip to content

Commit

Permalink
Use and install any version of catch2
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Beroset <[email protected]>
  • Loading branch information
beroset committed Dec 18, 2023
1 parent c333d6e commit c84f195
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install cppunit
- name: Install catch2
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ add_subdirectory(config)
add_subdirectory(autodownload)

if (WITH_TEST)
find_package(Catch2 3 REQUIRED)
find_package(Catch2 REQUIRED)
enable_testing()
add_subdirectory(test)
endif()
Expand Down

0 comments on commit c84f195

Please sign in to comment.