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 <jan.eilers@arm.com>
Change-Id: Id8c6a12c988196cdac55650bc4761c08a39b3abb
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index 650d409..9cf825e 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -131,6 +131,10 @@
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)