diff options
author | Jan Eilers <jan.eilers@arm.com> | 2020-06-19 11:47:21 +0100 |
---|---|---|
committer | Jan Eilers <jan.eilers@arm.com> | 2020-06-19 17:18:18 +0100 |
commit | 7e989834019e49f904df5c5ab0a299bde37c90c9 (patch) | |
tree | 98e84ddbbffdc1fbe5f10828763712d7ff9ae55a /cmake | |
parent | 2b6a6a4fe1b97e7321a8d19f95bd515207d49302 (diff) | |
download | armnn-7e989834019e49f904df5c5ab0a299bde37c90c9.tar.gz |
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
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/GlobalConfig.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
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) |