From 8981fa35d817b99c45c208799b2c8893567746ee Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Fri, 16 Apr 2010 10:45:32 +0200 Subject: [PATCH] FindJasper: don't set JASPER_LIBRARIES twice --- Modules/FindJasper.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Modules/FindJasper.cmake b/Modules/FindJasper.cmake index 1a28f63c8..552224214 100644 --- a/Modules/FindJasper.cmake +++ b/Modules/FindJasper.cmake @@ -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)