[Cmake-commits] CMake branch, next, updated. v2.8.7-3465-g5d8d135

Rolf Eike Beer eike at sf-mail.de
Mon Apr 16 16:44:18 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  5d8d135a1d8b3d04cda57f14bc6145efc9d3a1be (commit)
       via  8bdd44958b515f1bce35a865485f641364895d60 (commit)
      from  ef4701725585035de79b6efbd73be7dd7259904f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5d8d135a1d8b3d04cda57f14bc6145efc9d3a1be
commit 5d8d135a1d8b3d04cda57f14bc6145efc9d3a1be
Merge: ef47017 8bdd449
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Mon Apr 16 16:44:17 2012 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Apr 16 16:44:17 2012 -0400

    Merge topic 'fix-usejava-typo-13135' into next
    
    8bdd449 UseJava: fix typo in variable name (#13135)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8bdd44958b515f1bce35a865485f641364895d60
commit 8bdd44958b515f1bce35a865485f641364895d60
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Mon Apr 16 22:41:49 2012 +0200
Commit:     Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Mon Apr 16 22:41:49 2012 +0200

    UseJava: fix typo in variable name (#13135)
    
    As Dave Abrahams pointed out CMAKE_CURRENT_SOURCE_PATH is wrong, it's of
    course CMAKE_CURRENT_SOURCE_DIR.
    
    Also wrap the path in quotes so the example would even work if the source path
    has spaces.

diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake
index 84d0afd..30cc920 100644
--- a/Modules/UseJava.cmake
+++ b/Modules/UseJava.cmake
@@ -130,7 +130,7 @@
 #   Example:
 #   create_javadoc(my_example_doc
 #     PACKAGES com.exmaple.foo com.example.bar
-#     SOURCEPATH ${CMAKE_CURRENT_SOURCE_PATH}
+#     SOURCEPATH "${CMAKE_CURRENT_SOURCE_DIR}"
 #     CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
 #     WINDOWTITLE "My example"
 #     DOCTITLE "<h1>My example</h1>"

-----------------------------------------------------------------------

Summary of changes:
 Modules/UseJava.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list