Move all CMake scripts one level up
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Mar 2014 22:33:41 +0000 (23:33 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 17 Mar 2014 21:34:34 +0000 (22:34 +0100)
Having them in cmake/modules/ just adds a pointless extra directory,
so let's move them directly into cmake/.

12 files changed:
CMakeLists.txt
cmake/COPYING-CMAKE-SCRIPTS [moved from cmake/modules/COPYING-CMAKE-SCRIPTS with 100% similarity]
cmake/FindDBusMenuQt.cmake [moved from cmake/modules/FindDBusMenuQt.cmake with 100% similarity]
cmake/FindExecInfo.cmake [moved from cmake/modules/FindExecInfo.cmake with 100% similarity]
cmake/FindLibraryWithDebug.cmake [moved from cmake/modules/FindLibraryWithDebug.cmake with 100% similarity]
cmake/FindLibsnore.cmake [moved from cmake/modules/FindLibsnore.cmake with 100% similarity]
cmake/FindPhonon.cmake [moved from cmake/modules/FindPhonon.cmake with 100% similarity]
cmake/FindQCA2.cmake [moved from cmake/modules/FindQCA2.cmake with 100% similarity]
cmake/GetGitRevisionDescription.cmake [moved from cmake/modules/GetGitRevisionDescription.cmake with 100% similarity]
cmake/GetGitRevisionDescription.cmake.in [moved from cmake/modules/GetGitRevisionDescription.cmake.in with 100% similarity]
cmake/QuasselMacros.cmake [moved from cmake/modules/QuasselMacros.cmake with 100% similarity]
cmake/README [moved from cmake/modules/README with 100% similarity]

index 8a9303d..0295713 100644 (file)
@@ -34,13 +34,13 @@ set(QUASSEL_MINOR 11)
 set(QUASSEL_PATCH  0)
 set(QUASSEL_VERSION_STRING "0.11-pre")
 
 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)
 
 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
 include(QuasselMacros)
 
 # Various options and variables that can be set on the command line
similarity index 100%
rename from cmake/modules/README
rename to cmake/README