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
+3 −3
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
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;