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: [email protected]
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
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem