catch2/.conan/test_package/CMakeLists.txt
Martin Hořeňovský 7d7b2f89f2
Support adding test tags as CTest labels in catch_discover_tests
We also bump the minimum CMake version to 3.20 as per #2943
2025-01-05 20:02:00 +01:00

9 lines
263 B
CMake

cmake_minimum_required(VERSION 3.20)
project(PackageTest CXX)
find_package(Catch2 CONFIG REQUIRED)
add_executable(test_package test_package.cpp)
target_link_libraries(test_package Catch2::Catch2WithMain)
target_compile_features(test_package PRIVATE cxx_std_14)