mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-10 11:53:30 +01:00
232e893785
We still want to build VS 2017 through AppVeyor, and those images have CMake 3.16.2 installed. We could install newer CMake as part of the build, but since we don't use newer CMake features yet, this is simpler.
9 lines
263 B
CMake
9 lines
263 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
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)
|