NO-JIRA: Fix maven search to find windows command file on windows
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ce8db5a8 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/ce8db5a8 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/ce8db5a8 Branch: refs/heads/go1 Commit: ce8db5a80712404200f7800057723ee47ce506e1 Parents: 16da86e Author: Andrew Stitcher <astitc...@apache.org> Authored: Wed Oct 19 13:41:22 2016 -0400 Committer: Andrew Stitcher <astitc...@apache.org> Committed: Thu Dec 8 15:40:25 2016 -0500 ---------------------------------------------------------------------- proton-j/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/ce8db5a8/proton-j/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-j/CMakeLists.txt b/proton-j/CMakeLists.txt index 788c08f..81cb5a1 100644 --- a/proton-j/CMakeLists.txt +++ b/proton-j/CMakeLists.txt @@ -28,7 +28,7 @@ mark_as_advanced (JAVA_INSTALL_DIR) install_jar(proton-j ${JAVA_INSTALL_DIR}) # add relevant CTest support -find_program (MAVEN_EXE mvn DOC "Location of the maven program") +find_program (MAVEN_EXE NAMES mvn.cmd mvn DOC "Location of the maven program") mark_as_advanced (MAVEN_EXE) if (CMAKE_BUILD_TYPE MATCHES "Coverage") message (STATUS "Building for coverage analysis: testing disabled for Proton-J") --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org