Commit f72df95f authored by Charles G Waldman's avatar Charles G Waldman
Browse files

update to catch2 3.x

parent 1f734e84
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for src/csg/tests/CMakeLists.txt: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -35,10 +35,10 @@ target_include_directories(unit_tests_csg
  PRIVATE ${CMAKE_SOURCE_DIR}/src
  )

find_package(Catch2 REQUIRED)
find_package(Catch2 3 REQUIRED)
include(Catch)
target_link_libraries(unit_tests_csg
  Catch2::Catch2
  Catch2::Catch2WithMain
  csg-eb
  )

+0 −4
Changes for src/csg/tests/unit_tests_csg.main.cpp: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
#define CATCH_CONFIG_MAIN // Catch main() - only add to one cpp file
#include "catch2/catch_all.hpp"

using namespace Catch;