Eric Kunze | e5e2676 | 2020-10-13 16:11:07 -0700 | [diff] [blame] | 1 | cmake_minimum_required (VERSION 3.4) |
| 2 | |
Eric Kunze | 286f834 | 2022-06-22 11:30:23 -0700 | [diff] [blame] | 3 | # fetch 3rd party libraries |
| 4 | include(FetchContent) |
| 5 | FetchContent_Declare( |
| 6 | cxxopts |
| 7 | URL https://github.com/jarro2783/cxxopts/archive/v2.2.1.tar.gz |
| 8 | URL_MD5 6e70da4fc17a09f32612443f1866042e |
| 9 | ) |
| 10 | |
Eric Kunze | e5e2676 | 2020-10-13 16:11:07 -0700 | [diff] [blame] | 11 | set(CMAKE_INSTALL_PREFIX "./thirdparty" CACHE PATH "..." FORCE) |
| 12 | |
| 13 | project(thirdparty LANGUAGES CXX) |
| 14 | |
Eric Kunze | 286f834 | 2022-06-22 11:30:23 -0700 | [diff] [blame] | 15 | add_subdirectory(cxxopts) |
Kevin Cheng | 25fbe52 | 2021-11-05 19:18:49 +0000 | [diff] [blame] | 16 | add_subdirectory(serialization_lib EXCLUDE_FROM_ALL) |
| 17 | add_subdirectory(json EXCLUDE_FROM_ALL) |