You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2017/02/28 15:12:56 UTC

qpid-interop-test git commit: QPIDIT-52 QPIDIT-55: Changed DIRECTORY for PATH in get_filename_component for compatibility with cmake 2.x versions (used in RHEL)

Repository: qpid-interop-test
Updated Branches:
  refs/heads/master 7e868582e -> daf0c0a7e


QPIDIT-52 QPIDIT-55: Changed DIRECTORY for PATH in get_filename_component for compatibility with cmake 2.x versions (used in RHEL)


Project: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/commit/daf0c0a7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/tree/daf0c0a7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/diff/daf0c0a7

Branch: refs/heads/master
Commit: daf0c0a7e91c47709f93915b2a243d4244e15ee1
Parents: 7e86858
Author: Kim van der Riet <kp...@apache.org>
Authored: Tue Feb 28 10:12:36 2017 -0500
Committer: Kim van der Riet <kp...@apache.org>
Committed: Tue Feb 28 10:12:36 2017 -0500

----------------------------------------------------------------------
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/daf0c0a7/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9a792e2..1b8cee5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,7 @@ cmake_minimum_required(VERSION 2.8.7 FATAL_ERROR)
 
 find_package(Proton)
 if (Proton_FOUND)
-    get_filename_component(PROTON_INSTALL_DIR ${Proton_INCLUDE_DIRS} DIRECTORY CACHE PATH "Proton install directory")
+    get_filename_component(PROTON_INSTALL_DIR ${Proton_INCLUDE_DIRS} PATH CACHE PATH "Proton install directory")
     message(STATUS "Qpid proton found. Version ${Proton_VERSION} at ${Proton_INCLUDE_DIRS}")
 else ()
     message(STATUS "Qpid proton not found.")
@@ -34,7 +34,7 @@ endif ()
 
 find_package(ProtonCpp)
 if (ProtonCpp_FOUND)
-    get_filename_component(PROTON_CPP_INSTALL_DIR ${ProtonCpp_INCLUDE_DIRS} DIRECTORY CACHE PATH "ProtonCpp install directory")
+    get_filename_component(PROTON_CPP_INSTALL_DIR ${ProtonCpp_INCLUDE_DIRS} PATH CACHE PATH "ProtonCpp install directory")
     message(STATUS "Qpid proton c++ binding found. Version ${ProtonCpp_VERSION} at ${ProtonCpp_INCLUDE_DIRS}")
 else()
     message(STATUS "Qpid proton c++ binding not found.")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org