summaryrefslogtreecommitdiff
path: root/Modules/FindJava.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-10-19 15:53:16 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2010-10-19 15:53:16 -0400
commitb0fb2ad3e14adfee62d16439f509a65eee341f81 (patch)
treed09ffbb4d629f2764bbbedae5629b291ebaa8706 /Modules/FindJava.cmake
parent915e5805d997eb748688a093519c8fa548118aa7 (diff)
parentb01184022be821adc3fee277365d4f7bb6244ff2 (diff)
downloadcmake-b0fb2ad3e14adfee62d16439f509a65eee341f81.tar.gz
Merge topic 'AddCMAKE_CURRENT_LIST_DIR'
b011840 Use absolute path to FindPackageHandleStandardArgs.cmake everywhere 41e4f1a Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE) f9fc79c Remove trailing whitespace
Diffstat (limited to 'Modules/FindJava.cmake')
-rw-r--r--Modules/FindJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index 1599433159..acdbb7050c 100644
--- a/Modules/FindJava.cmake
+++ b/Modules/FindJava.cmake
@@ -150,7 +150,7 @@ FIND_PROGRAM(Java_JAVAC_EXECUTABLE
PATHS ${_JAVA_PATHS}
)
-include(FindPackageHandleStandardArgs)
+include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
if(Java_FIND_COMPONENTS)
foreach(component ${Java_FIND_COMPONENTS})
# User just want to execute some Java byte-compiled