mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03:00
FindJava: Fix typos in IdlJ and JarSigner component implementation
Fix typos introduced by commit v3.4.0-rc1~257^2~2 (FindJava: Add support for idlj and jarsigner tools, 2015-07-31) to correctly report when these components are found.
This commit is contained in:
1 parent
fd7180f0c0
commit
d8b251e2ea
1 file changed
+3
-3
@@ -228,12 +228,12 @@ if(Java_FIND_COMPONENTS)
|
||||
endif()
|
||||
elseif(component STREQUAL "IdlJ")
|
||||
list(APPEND _JAVA_REQUIRED_VARS Java_IDLJ_EXECUTABLE)
|
||||
if(Java_IdlJ_EXECUTABLE)
|
||||
set(Java_Extra_FOUND TRUE)
|
||||
if(Java_IDLJ_EXECUTABLE)
|
||||
set(Java_IdlJ_FOUND TRUE)
|
||||
endif()
|
||||
elseif(component STREQUAL "JarSigner")
|
||||
list(APPEND _JAVA_REQUIRED_VARS Java_JARSIGNER_EXECUTABLE)
|
||||
if(Java_IDLJ_EXECUTABLE)
|
||||
if(Java_JARSIGNER_EXECUTABLE)
|
||||
set(Java_JarSigner_FOUND TRUE)
|
||||
endif()
|
||||
else()
|
||||
|
||||
Reference in new issue
Block a user