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:
parent
fd7180f0c0
commit
d8b251e2ea
|
@ -228,12 +228,12 @@ if(Java_FIND_COMPONENTS)
|
||||||
endif()
|
endif()
|
||||||
elseif(component STREQUAL "IdlJ")
|
elseif(component STREQUAL "IdlJ")
|
||||||
list(APPEND _JAVA_REQUIRED_VARS Java_IDLJ_EXECUTABLE)
|
list(APPEND _JAVA_REQUIRED_VARS Java_IDLJ_EXECUTABLE)
|
||||||
if(Java_IdlJ_EXECUTABLE)
|
if(Java_IDLJ_EXECUTABLE)
|
||||||
set(Java_Extra_FOUND TRUE)
|
set(Java_IdlJ_FOUND TRUE)
|
||||||
endif()
|
endif()
|
||||||
elseif(component STREQUAL "JarSigner")
|
elseif(component STREQUAL "JarSigner")
|
||||||
list(APPEND _JAVA_REQUIRED_VARS Java_JARSIGNER_EXECUTABLE)
|
list(APPEND _JAVA_REQUIRED_VARS Java_JARSIGNER_EXECUTABLE)
|
||||||
if(Java_IDLJ_EXECUTABLE)
|
if(Java_JARSIGNER_EXECUTABLE)
|
||||||
set(Java_JarSigner_FOUND TRUE)
|
set(Java_JarSigner_FOUND TRUE)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue