KDE/kdelibs/khtml

David Faure faure at kde.org
Thu May 11 18:56:14 CEST 2006


SVN commit 539758 by dfaure:

The FindJPEG provided by cmake doesn't obey the REQUIRED flag - it doesn't error out when libjpeg isn't found.
Should this be fixed in cmake's FindJPEG.cmake?
CCMAIL: kde-buildsystem at kde.org


 M  +5 -0      CMakeLists.txt  


--- trunk/KDE/kdelibs/khtml/CMakeLists.txt #539757:539758
@@ -6,6 +6,11 @@
 find_package(GIF  REQUIRED)
 find_package(PNG  REQUIRED)
 
+# not done by cmake's FindJPEG.cmake:
+if (NOT JPEG_FOUND)
+  message(FATAL_ERROR "JPEG library not found, required by KHTML - please install libjpeg")
+endif (NOT JPEG_FOUND)
+
 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}  ${KDE4_ENABLE_EXCEPTIONS}")
 
 # khtml/dom/Makefile.am: khtmldom


More information about the Kde-buildsystem mailing list