Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include
author David Faure
()
committer David Faure
()
commit 302b04da33b1d84ad29021488fc9484ab3608b91
tree cd1dd724640a0deeda1d35553c103b3e6f628350
parent 8e9789da1bdf8bd783b576f0d7474c99091ad7f1
Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].

Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-,
so that installed headers are not preferred over (possibly more uptodate) local headers.

svn path=/trunk/KDE/kdebase/workspace/kcontrol/krdb/; revision=521887
95 files changed:
drkonqi/CMakeLists.txt
drkonqi/debuggers/CMakeLists.txt
drkonqi/pics/CMakeLists.txt
drkonqi/presets/CMakeLists.txt
kcontrol/icons/CMakeLists.txt
kcontrol/kcontrol/CMakeLists.txt
kcontrol/kcontrol/about/CMakeLists.txt
kcontrol/krdb/CMakeLists.txt
kcontrol/krdb/ad/CMakeLists.txt
kcontrol/krdb/kcs/CMakeLists.txt
kcontrol/krdb/pics/CMakeLists.txt
kcontrol/krdb/themes/CMakeLists.txt
kcontrol/krdb/themes/HighContrastDark-big/CMakeLists.txt
kcontrol/krdb/themes/HighContrastDark/CMakeLists.txt
kcontrol/krdb/themes/HighContrastLight-big/CMakeLists.txt
kcontrol/krdb/themes/HighContrastLight/CMakeLists.txt
kcontrol/krdb/themes/KDE_Classic/CMakeLists.txt
kcontrol/krdb/themes/Keramik/CMakeLists.txt
kcontrol/krdb/themes/Plastik/CMakeLists.txt
kcontrol/krdb/themes/Platinum/CMakeLists.txt
kcontrol/krdb/themes/Redmond/CMakeLists.txt
kcontrol/krdb/themes/Sunshine/CMakeLists.txt
kcontrol/krdb/themes/YellowOnBlue-big/CMakeLists.txt
kcontrol/krdb/themes/YellowOnBlue/CMakeLists.txt
kcontrol/locale/CMakeLists.txt
kcontrol/locale/default/CMakeLists.txt
kcontrol/locale/pics/CMakeLists.txt
kcontrol/style/CMakeLists.txt
kcontrol/style/keramik/CMakeLists.txt
kdebugdialog/CMakeLists.txt
kdeeject/CMakeLists.txt
kdesu/CMakeLists.txt
kdesu/kdesu/CMakeLists.txt
kdesu/kdesud/CMakeLists.txt
keditfiletype/CMakeLists.txt
khelpcenter/CMakeLists.txt
khelpcenter/htmlsearch/CMakeLists.txt
khelpcenter/pics/CMakeLists.txt
khelpcenter/plugins/Applications/CMakeLists.txt
khelpcenter/plugins/CMakeLists.txt
khelpcenter/plugins/Manpages/CMakeLists.txt
khelpcenter/plugins/Scrollkeeper/CMakeLists.txt
khelpcenter/plugins/Tutorials/CMakeLists.txt
khelpcenter/searchhandlers/CMakeLists.txt
kioslave/CMakeLists.txt
kioslave/about/CMakeLists.txt
kioslave/cgi/CMakeLists.txt
kioslave/cgi/kcmcgi/CMakeLists.txt
kioslave/filter/CMakeLists.txt
kioslave/finger/CMakeLists.txt
kioslave/fish/CMakeLists.txt
kioslave/floppy/CMakeLists.txt
kioslave/home/CMakeLists.txt
kioslave/home/kdedmodule/CMakeLists.txt
kioslave/info/CMakeLists.txt
kioslave/ldap/CMakeLists.txt
kioslave/mac/CMakeLists.txt
kioslave/man/CMakeLists.txt
kioslave/media/CMakeLists.txt
kioslave/media/kcmodule/CMakeLists.txt
kioslave/media/kfile-plugin/CMakeLists.txt
kioslave/media/libmediacommon/CMakeLists.txt
kioslave/media/mediamanager/CMakeLists.txt
kioslave/media/medianotifier/CMakeLists.txt
kioslave/media/mimetypes/CMakeLists.txt
kioslave/media/mounthelper/CMakeLists.txt
kioslave/media/services/CMakeLists.txt
kioslave/nfs/CMakeLists.txt
kioslave/nntp/CMakeLists.txt
kioslave/pop3/CMakeLists.txt
kioslave/remote/CMakeLists.txt
kioslave/remote/kdedmodule/CMakeLists.txt
kioslave/settings/CMakeLists.txt
kioslave/sftp/CMakeLists.txt
kioslave/smb/CMakeLists.txt
kioslave/smtp/CMakeLists.txt
kioslave/system/CMakeLists.txt
kioslave/system/entries/CMakeLists.txt
kioslave/system/kdedmodule/CMakeLists.txt
kioslave/system/mimetypes/CMakeLists.txt
kioslave/tar/CMakeLists.txt
kioslave/thumbnail/CMakeLists.txt
kioslave/trash/CMakeLists.txt
kioslave/trash/kfile-plugin/CMakeLists.txt
knetattach/CMakeLists.txt
kreadconfig/CMakeLists.txt
kstart/CMakeLists.txt
kurifilter-plugins/CMakeLists.txt
kurifilter-plugins/ikws/CMakeLists.txt
kurifilter-plugins/ikws/searchproviders/CMakeLists.txt
kurifilter-plugins/localdomain/CMakeLists.txt
kurifilter-plugins/shorturi/CMakeLists.txt
menu/CMakeLists.txt
menu/desktop/CMakeLists.txt
menu/pics/CMakeLists.txt