SVN_SILENT made messages (.desktop file)
[kdeartwork.git] / kscreensaver / CMakeLists.txt
blob88f02237ca823e6d180bdd42dbabe1054d46fd2f
2 find_package(KDE4Workspace)
4 macro_optional_find_package(Xscreensaver)
5 macro_log_feature(XSCREENSAVER_FOUND "Xscreensaver" "A modular screen saver and locker for the X Window System" "ttp://www.jwz.org/xscreensaver" FALSE "" "Provides screen savers for the desktop.")
7 if(KDE4WORKSPACE_FOUND)
8         macro_optional_find_package(OpenGL)
9         macro_log_feature(OPENGL_FOUND "OpenGL" "API for developing portable, interactive 2D and 3D graphics applications" "http://mesa3d.sourceforge.net" FALSE "" "Provides 3D screensavers.")
10         add_subdirectory( kdesavers ) 
11         add_subdirectory( kpartsaver ) 
13         if(XSCREENSAVER_FOUND)
14            add_subdirectory(kxsconfig)
15            add_subdirectory(xsavers)
16         endif(XSCREENSAVER_FOUND)
18 elseif(KDE4WORKSPACE_FOUND)
19         message(STATUS "kscreensaver can't be compiled. Please install kdebase/workspace before to compile it (need kscreensaver.h)")
20 endif(KDE4WORKSPACE_FOUND)