Repository: nifi-minifi-cpp Updated Branches: refs/heads/master 39183135c -> adbed8360
MINIFICPP-276: Add EXCLUDE_BOOST option Signed-off-by: Bin Qiu <[email protected]> This closes #166. Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/adbed836 Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/adbed836 Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/adbed836 Branch: refs/heads/master Commit: adbed8360c17e9cb8c13c6aa971dbc9088665bc1 Parents: 3918313 Author: Marc Parisi <[email protected]> Authored: Tue Oct 31 13:59:25 2017 -0400 Committer: Bin Qiu <[email protected]> Committed: Tue Oct 31 16:14:11 2017 -0700 ---------------------------------------------------------------------- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/adbed836/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 51d817f..b0c6853 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,11 @@ add_subdirectory(thirdparty/civetweb-1.9.1 EXCLUDE_FROM_ALL) include_directories(thirdparty/concurrentqueue) include_directories(thirdparty/yaml-cpp-yaml-cpp-20171024/include) add_subdirectory(libminifi) -#function(createExtension extensionCondition extensionGuard extensionName description dirName) + +if (EXCLUDE_BOOST) + message(" -- Excluding Boost dependent packages...") + set(DISABLE_LIBARCHIVE "ON") +endif(EXCLUDE_BOOST) ## Add http-curl extensions createExtension(DISABLE_CURL
