SVN commit 1311436 by aacid: Move the things only libkdegames uses to libkdegames Will ease git move M +0 -7 CMakeLists.txt D cmake (directory) M +8 -0 libkdegames/CMakeLists.txt A libkdegames/cmake (directory) --- trunk/KDE/kdegames/CMakeLists.txt #1311435:1311436 @@ -1,6 +1,5 @@ project(kdegames) -set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) set(COMPILING_KDEGAMES 1) # search packages used by KDE @@ -19,12 +18,6 @@ macro_optional_find_package(PythonInterp) macro_log_feature(PYTHONINTERP_FOUND "Python" "Programming language that lets you work more quickly and integrate your systems more effectively." "http://python.org" FALSE "" "Kajongg will not be built without the python interpreter (version 2.6 < 3.0).") -macro_optional_find_package(OpenAL) -macro_log_feature(OPENAL_FOUND "OpenAL" "OpenAL (Open Audio Library) is a free software cross-platform audio API." "http://connect.creativelabs.com/openal" FALSE "" "Phonon is used as a fallback, but low-latency sound output is only available with OpenAL/SndFile.") - -macro_optional_find_package(SndFile) -macro_log_feature(SNDFILE_FOUND "SndFile" "libsndfile is a C library written by Erik de Castro Lopo for reading and writing audio files." "http://www.mega-nerd.com/libsndfile/" FALSE "" "Phonon is used as a fallback, but low-latency sound output is only available with OpenAL/SndFile.") - if(OPENGL_FOUND AND QT_QTOPENGL_FOUND) set(OPENGL_SUPPORT true) endif(OPENGL_FOUND AND QT_QTOPENGL_FOUND) --- trunk/KDE/kdegames/libkdegames/CMakeLists.txt #1311435:1311436 @@ -2,6 +2,14 @@ project(libkdegames) +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) + +macro_optional_find_package(OpenAL) +macro_log_feature(OPENAL_FOUND "OpenAL" "OpenAL (Open Audio Library) is a free software cross-platform audio API." "http://connect.creativelabs.com/openal" FALSE "" "Phonon is used as a fallback, but low-latency sound output is only available with OpenAL/SndFile.") + +macro_optional_find_package(SndFile) +macro_log_feature(SNDFILE_FOUND "SndFile" "libsndfile is a C library written by Erik de Castro Lopo for reading and writing audio files." "http://www.mega-nerd.com/libsndfile/" FALSE "" "Phonon is used as a fallback, but low-latency sound output is only available with OpenAL/SndFile.") + KDE4_NO_ENABLE_FINAL(libkdegames) KDE4_NO_ENABLE_FINAL(libkdegamesprivate)