Use catch via FetchContent

Fixes #111 and #112.
This commit is contained in:
Jonathan Müller 2021-02-17 13:37:14 +01:00
commit 39ba4f5de2
9 changed files with 15 additions and 15 deletions

View file

@ -46,6 +46,7 @@ if(build_tool)
execute_process(COMMAND git submodule update --init -- external/cxxopts
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
set(CXXOPTS_BUILD_TESTS OFF)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/external/cxxopts EXCLUDE_FROM_ALL)
endif()