mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-10 20:03:30 +01:00
7d7b2f89f2
We also bump the minimum CMake version to 3.20 as per #2943
9 lines
263 B
CMake
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)
|