FindJasper: don't set JASPER_LIBRARIES twice
This commit is contained in:
parent
0f57a51f75
commit
8981fa35d8
|
@ -25,10 +25,6 @@ FIND_PATH(JASPER_INCLUDE_DIR jasper/jasper.h)
|
|||
|
||||
FIND_LIBRARY(JASPER_LIBRARY NAMES jasper libjasper)
|
||||
|
||||
IF (JASPER_INCLUDE_DIR AND JASPER_LIBRARY AND JPEG_LIBRARIES)
|
||||
SET(JASPER_LIBRARIES ${JASPER_LIBRARY} ${JPEG_LIBRARIES} )
|
||||
ENDIF (JASPER_INCLUDE_DIR AND JASPER_LIBRARY AND JPEG_LIBRARIES)
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set JASPER_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
|
|
Loading…
Reference in New Issue