Commit 8bdd4495 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

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.
parent 31e7fadb
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
# Example: # Example:
# create_javadoc(my_example_doc # create_javadoc(my_example_doc
# PACKAGES com.exmaple.foo com.example.bar # PACKAGES com.exmaple.foo com.example.bar
# SOURCEPATH ${CMAKE_CURRENT_SOURCE_PATH} # SOURCEPATH "${CMAKE_CURRENT_SOURCE_DIR}"
# CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH} # CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
# WINDOWTITLE "My example" # WINDOWTITLE "My example"
# DOCTITLE "<h1>My example</h1>" # DOCTITLE "<h1>My example</h1>"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment