From: Manuel Nickschas Date: Sun, 16 Mar 2014 22:33:41 +0000 (+0100) Subject: Move all CMake scripts one level up X-Git-Tag: 0.11.0~105 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=a2121709c6e39fe3640163e5a4b6b96b8b0f1ab8;ds=sidebyside Move all CMake scripts one level up Having them in cmake/modules/ just adds a pointless extra directory, so let's move them directly into cmake/. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a9303d0..02957135 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,13 +34,13 @@ set(QUASSEL_MINOR 11) set(QUASSEL_PATCH 0) set(QUASSEL_VERSION_STRING "0.11-pre") +# Tell CMake about or own stuff +set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) + include(CheckFunctionExists) include(CheckIncludeFile) include(CheckCXXCompilerFlag) -# Use our own (well, and KDE's) version of some modules -# In particular cmake's own FindQt4 and FindOpenSSL are quite buggy -set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) include(QuasselMacros) # Various options and variables that can be set on the command line diff --git a/cmake/modules/COPYING-CMAKE-SCRIPTS b/cmake/COPYING-CMAKE-SCRIPTS similarity index 100% rename from cmake/modules/COPYING-CMAKE-SCRIPTS rename to cmake/COPYING-CMAKE-SCRIPTS diff --git a/cmake/modules/FindDBusMenuQt.cmake b/cmake/FindDBusMenuQt.cmake similarity index 100% rename from cmake/modules/FindDBusMenuQt.cmake rename to cmake/FindDBusMenuQt.cmake diff --git a/cmake/modules/FindExecInfo.cmake b/cmake/FindExecInfo.cmake similarity index 100% rename from cmake/modules/FindExecInfo.cmake rename to cmake/FindExecInfo.cmake diff --git a/cmake/modules/FindLibraryWithDebug.cmake b/cmake/FindLibraryWithDebug.cmake similarity index 100% rename from cmake/modules/FindLibraryWithDebug.cmake rename to cmake/FindLibraryWithDebug.cmake diff --git a/cmake/modules/FindLibsnore.cmake b/cmake/FindLibsnore.cmake similarity index 100% rename from cmake/modules/FindLibsnore.cmake rename to cmake/FindLibsnore.cmake diff --git a/cmake/modules/FindPhonon.cmake b/cmake/FindPhonon.cmake similarity index 100% rename from cmake/modules/FindPhonon.cmake rename to cmake/FindPhonon.cmake diff --git a/cmake/modules/FindQCA2.cmake b/cmake/FindQCA2.cmake similarity index 100% rename from cmake/modules/FindQCA2.cmake rename to cmake/FindQCA2.cmake diff --git a/cmake/modules/GetGitRevisionDescription.cmake b/cmake/GetGitRevisionDescription.cmake similarity index 100% rename from cmake/modules/GetGitRevisionDescription.cmake rename to cmake/GetGitRevisionDescription.cmake diff --git a/cmake/modules/GetGitRevisionDescription.cmake.in b/cmake/GetGitRevisionDescription.cmake.in similarity index 100% rename from cmake/modules/GetGitRevisionDescription.cmake.in rename to cmake/GetGitRevisionDescription.cmake.in diff --git a/cmake/modules/QuasselMacros.cmake b/cmake/QuasselMacros.cmake similarity index 100% rename from cmake/modules/QuasselMacros.cmake rename to cmake/QuasselMacros.cmake diff --git a/cmake/modules/README b/cmake/README similarity index 100% rename from cmake/modules/README rename to cmake/README