From 4946a64db774a140d06c45f186f5bc5a4c0c6daa Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Tue, 11 Feb 2020 18:24:37 -0400 Subject: Use Boost's program_options instead of vendoring clipp This changes how options are parsed a bit, but tests are happy and typical usage is unaffected; just the usage screen is different. This was intended for post-1.0, but turns out I decided to do it. Boost is already required for pre-C++11, so it doesn't seem like a big deal to use. If you don't build the tools, it won't be required. --- tools/hscript-validate/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/hscript-validate/CMakeLists.txt') diff --git a/tools/hscript-validate/CMakeLists.txt b/tools/hscript-validate/CMakeLists.txt index 2f0b5a4..6eae7cc 100644 --- a/tools/hscript-validate/CMakeLists.txt +++ b/tools/hscript-validate/CMakeLists.txt @@ -2,7 +2,7 @@ set(VALIDATE_SRCS validator.cc ) add_executable(hscript-validate ${VALIDATE_SRCS}) -target_link_libraries(hscript-validate hscript) +target_link_libraries(hscript-validate hscript ${Boost_LIBRARIES}) install(TARGETS hscript-validate DESTINATION bin) -- cgit v1.2.3-60-g2f50