1cmake_minimum_required(VERSION 3.2.0) 2project(test_package CXX) 3 4include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) 5conan_basic_setup(TARGETS) 6 7find_package(Catch2 REQUIRED CONFIG) 8 9add_executable(${PROJECT_NAME} test_package.cpp) 10target_link_libraries(${PROJECT_NAME} CONAN_PKG::Catch2) 11set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 11) 12