Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15B2710A2F for ; Tue, 28 Apr 2015 14:51:43 +0000 (UTC) Received: (qmail 72160 invoked by uid 500); 28 Apr 2015 14:51:43 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 72136 invoked by uid 500); 28 Apr 2015 14:51:43 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 72127 invoked by uid 99); 28 Apr 2015 14:51:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 14:51:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B9FFCE0772; Tue, 28 Apr 2015 14:51:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: astitcher@apache.org To: commits@qpid.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: qpid-proton git commit: NO-JIRA: Fix CMP0026 CMake warnings and fix windows tests Date: Tue, 28 Apr 2015 14:51:42 +0000 (UTC) Repository: qpid-proton Updated Branches: refs/heads/master 2d899d1f5 -> a6d38181d NO-JIRA: Fix CMP0026 CMake warnings and fix windows tests Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/a6d38181 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/a6d38181 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/a6d38181 Branch: refs/heads/master Commit: a6d38181dba576ae65a4eeb25aa6929e43b7fd0d Parents: 2d899d1 Author: Andrew Stitcher Authored: Tue Apr 28 01:11:23 2015 -0400 Committer: Andrew Stitcher Committed: Tue Apr 28 10:50:47 2015 -0400 ---------------------------------------------------------------------- proton-c/src/tests/CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a6d38181/proton-c/src/tests/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/src/tests/CMakeLists.txt b/proton-c/src/tests/CMakeLists.txt index efec9bd..ac749e1 100644 --- a/proton-c/src/tests/CMakeLists.txt +++ b/proton-c/src/tests/CMakeLists.txt @@ -29,12 +29,10 @@ macro (pn_add_c_test test file) target_link_libraries (${test} qpid-proton) pn_c_files (${file}) if (CMAKE_SYSTEM_NAME STREQUAL Windows) - get_target_property(QPID_PROTON_TARGET qpid-proton LOCATION_${bld_suffix}) - get_target_property(${test}_LOCATION ${test} LOCATION_${bld_suffix}) - get_filename_component(QPID_PROTON_TARGET_DIR ${QPID_PROTON_TARGET} PATH) - add_test (${test} ${env_py} - "PATH=${QPID_PROTON_TARGET_DIR}" - ${${test}_LOCATION}) + add_test (NAME ${test} + COMMAND ${env_py} + "PATH=$" + $) else () add_test (${test} ${memcheck-cmd} ${CMAKE_CURRENT_BINARY_DIR}/${test}) endif () --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org