You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2018/11/02 20:47:04 UTC
[44/50] qpid-proton git commit: PROTON-1947: [cpp] not locating
jsoncpp library on some platforms
PROTON-1947: [cpp] not locating jsoncpp library on some platforms
CMake was not adding the INCLUDE_DIR locations found by FindJsonCpp
so a non-standard installation would be found but cause a compile failure.
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ab82a8b8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/ab82a8b8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/ab82a8b8
Branch: refs/heads/go1
Commit: ab82a8b8e92f2dff3fa8d03d9c11403439420bba
Parents: b342151
Author: Alan Conway <ac...@redhat.com>
Authored: Tue Oct 2 10:54:50 2018 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue Oct 2 10:55:49 2018 -0400
----------------------------------------------------------------------
cpp/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/ab82a8b8/cpp/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 7d399d8..f3c93fb 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -31,6 +31,7 @@ set (BUILD_CPP_03 OFF CACHE BOOL "Compile the C++ binding as C++03 even when C++
find_package(JsonCpp)
option(ENABLE_JSONCPP "Use jsoncpp parser for connection configuration" ${JsonCpp_FOUND})
if (ENABLE_JSONCPP)
+ include_directories(${JsonCpp_INCLUDE_DIRS})
set(CONNECT_CONFIG_SRC src/connect_config.cpp)
set(CONNECT_CONFIG_LIBS ${JsonCpp_LIBRARY})
else()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org