diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | source/tests/CMakeLists.txt | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index c84eda9..82beacd 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -5,6 +5,8 @@ project("newtype" DESCRIPTION "A library of types and functions to create strong type aliases" ) +enable_testing() + # Project Options option(BUILD_EXAMPLES "Build the library examples" OFF) diff --git a/source/tests/CMakeLists.txt b/source/tests/CMakeLists.txt index fe405db..2287a91 100644 --- a/source/tests/CMakeLists.txt +++ b/source/tests/CMakeLists.txt @@ -1,10 +1,9 @@ -enable_testing() - find_package("Catch2" "3.1" COMPONENTS "Catch2WithMain" REQUIRED ) +include("CTest") include("Catch") add_executable("${PROJECT_NAME}_tests" |
