summaryrefslogtreecommitdiffstats
path: root/Modules/FindKDE4.cmake
Commit message (Collapse)AuthorAgeFilesLines
* KDE4: Find the Internal package with NO_POLICY_SCOPE.Stephen Kelly2015-07-191-1/+1
| | | | | | | | | | If someone in KDE wants to port away from OLD policies, they might want to do so one policy at a time. This patch will allow them to use find_package(KDE4 NO_POLICY_SCOPE) in callers to get around the CMP0011 warning, while still getting the policy settings contained within.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-7/+20
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-15/+15
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-43/+43
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* -use the HINTS keyword for finding FindKDE4Internal.cmakeAlex Neundorf2010-05-101-1/+1
| | | | Alex
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+14
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* STYLE: Fix if/endif mismatch in FindKDE4Brad King2009-01-211-1/+1
|
* BUG: fix closing ENDIF()Alexander Neundorf2008-08-171-1/+1
| | | | Alex
* BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can beAlexander Neundorf2008-08-161-0/+12
| | | | | | | | | | | | | found in the system Qt3 and Qt4 cannot be used together in one project. Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET Alex
* BUG: don't run KDE4_KDECONFIG_EXECUTABLE if it is notfoundBill Hoffman2008-06-261-4/+7
|
* ENH: Cleanup Find* modules with new HINTS featureBrad King2008-06-091-4/+1
| | | | | | | | | | - The find_* commands now provide a HINTS option. - The option specifies paths to be preferred over the system paths. - Many Find* modules were using two find calls with NO_DEFAULT_PATH to approximate the behavior, but that blocked users from overriding things with CMAKE_PREFIX_PATH. - This commit uses the HINTS feature to get desired behavior in only one find command call.
* ENH: preparations for cross compiling KDE4Alexander Neundorf2008-03-141-31/+44
| | | | Alex
* BUG: KDEDIRS contains the kde install locations, not the binary dirs, soAlexander Neundorf2007-08-261-4/+2
| | | | | | make KDEDIRS actually work in FindKDE4.cmake Alex
* STYLE: use EXECUTE_PROCESS() instead of EXEC_PROGRAM()Alexander Neundorf2007-07-111-1/+1
| | | | Alex
* STYLE: fix docs for FindKDE4.cmakeAlexander Neundorf2007-02-201-4/+3
| | | | Alex
* STYLE: KDEDIR is deprecated and not used, so also document that KDEDIRS isAlexander Neundorf2007-01-301-2/+2
| | | | | | used instead Alex
* ENH: kde-config has been renamed to kde4-config several weeks ago, so it'sAlexander Neundorf2006-11-231-5/+5
| | | | | | | not necessary anymore to use "kde-config" as fallback, since this will surely be a wrong version Alex
* ENH: prefer kde4-config over kde-config, since for KDE 4 kde-config will beAlexander Neundorf2006-07-041-3/+3
| | | | | | | renamed to kde-config, and so cmake has to prefer this one over the old version Alex
* ENH: use the new FILE(TO_CMAKE_PATH ...) command instead of regexpsAlexander Neundorf2006-05-111-22/+13
| | | | | | BUG: append the kde 4 cmake module path instead of prepending it Alex
* STYLE: better error message when KDE4 hasn't been foundAlexander Neundorf2006-03-281-2/+3
| | | | Alex
* ENH: after searching for kde-config in the special dirs, search again in theAlexander Neundorf2006-03-161-2/+14
| | | | | | | standard dirs BUG: handle paths on windows correctly Alex
* ENH: new module to find the FindKDE4Internal.cmake installed by kdelibs4Alexander Neundorf2006-03-101-0/+60
Alex