SVN commit 810372 by winterz: be extra careful about libICE and libSM prerequisites since many distros have separate development packages for these.
complain if they aren't installed. CCMAIL: [email protected] M +8 -0 FindX11.cmake --- trunk/KDE/kdelibs/cmake/modules/FindX11.cmake #810371:810372 @@ -295,6 +295,14 @@ SET(X11_SM_FOUND TRUE) ENDIF(X11_SM_LIB AND X11_SM_INCLUDE_PATH) + IF(NOT X11_ICE_FOUND) + MESSAGE(FATAL_ERROR "\nThe X11 Inter-Client Exchange (ICE) Library could not be found.\nCannot continue. Please install libICE.\n") + ENDIF(NOT X11_ICE_FOUND) + + IF(NOT X11_SM_FOUND) + MESSAGE(FATAL_ERROR "\nThe X11 Session Management (SM) Library could not be found.\nCannot contineu. Please install libSM.\n") + ENDIF(NOT X11_SM_FOUND) + # Deprecated variable for backwards compatibility with CMake 1.4 IF (X11_X11_INCLUDE_PATH AND X11_LIBRARIES) SET(X11_FOUND 1) _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
