You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Conan package for version 3.0.1 seems to no longer include the Catch.cmake and CatchAddTests.cmake files, so the CMake integration no longer works like it did in the 2.X versions of the package.
cmake_minimum_required(VERSION 3.5)
project(foo LANGUAGES CXX VERSION 0.0.1)
list(APPENDCMAKE_MODULE_PATH"${CMAKE_SOURCE_DIR}")
find_package(Catch2 REQUIRED)
include(CTest)
include(Catch) # does not work
Build commands:
conan install . --build=missing
cmake .
The text was updated successfully, but these errors were encountered:
Describe the bug
The Conan package for version 3.0.1 seems to no longer include the
Catch.cmake
andCatchAddTests.cmake
files, so the CMake integration no longer works like it did in the 2.X versions of the package.Reproduction steps
conanfile.txt
:CMakeLists.txt
:Build commands:
The text was updated successfully, but these errors were encountered: