From 7e989834019e49f904df5c5ab0a299bde37c90c9 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Fri, 19 Jun 2020 11:47:21 +0100 Subject: IVGCVSW-4488 Adding cxxopts to third-party * as alternative for boost::program_options * added to cmake * added to TPIP list in readme.md Signed-off-by: Jan Eilers Change-Id: Id8c6a12c988196cdac55650bc4761c08a39b3abb --- cmake/GlobalConfig.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmake') diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake index 650d4091f4..9cf825e1ce 100644 --- a/cmake/GlobalConfig.cmake +++ b/cmake/GlobalConfig.cmake @@ -131,6 +131,10 @@ find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework system filesyste include_directories(SYSTEM "${Boost_INCLUDE_DIRS}") link_directories(${Boost_LIBRARY_DIRS}) +# cxxopts (Alternative to boost::program_options) +find_path(CXXOPTS_INCLUDE cxxopts/cxxopts.hpp PATHS third-party) +include_directories(SYSTEM "${CXXOPTS_INCLUDE}") + # pthread find_package (Threads) -- cgit v1.2.1