catch2/.conan/test_package/CMakeLists.txt

13 lines
354 B
CMake
Raw Permalink Normal View History

cmake_minimum_required(VERSION 3.2.0)
project(test_package CXX)
2020-10-31 19:53:25 +01:00
include("${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
conan_basic_setup()
find_package(Catch2 REQUIRED CONFIG)
add_executable(${PROJECT_NAME} test_package.cpp)
2020-10-31 19:53:25 +01:00
target_link_libraries(${PROJECT_NAME} Catch2::Catch2WithMain)
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 14)