Remove unused variables from the cmake scripts

This commit is contained in:
Aleix Pol 2013-11-15 17:00:56 +01:00
parent 2cb4ebd6f5
commit f97f506acb
5 changed files with 0 additions and 18 deletions

View File

@ -1,7 +1,3 @@
if(QCA2_FOUND)
include_directories( ${QCA2_INCLUDE_DIR} )
endif()
# This option should be removed, or moved down as far as possible.
# That means porting the existing frameworks to the CMake automoc
# feature. Porting is mostly removing explicit moc includes, and
@ -10,12 +6,10 @@ endif()
set(CMAKE_AUTOMOC_RELAXED_MODE ON)
if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
set(PLASMA_NO_KNEWSTUFF TRUE)
set(PLASMA_NO_SOLID TRUE)
set(PLASMA_NO_KIO TRUE)
set(PLASMA_NO_PACKAGEKIT TRUE)
set(PLASMA_NO_PACKAGE_EXTRADATA TRUE)
set(PLASMA_NO_GLOBAL_SHORTCUTS TRUE)
endif()
if(NOT X11_FOUND)

View File

@ -39,8 +39,3 @@ ecm_mark_as_test(storagetest)
if(QT_QTOPENGL_FOUND)
target_link_libraries(storagetest Qt5::OpenGL)
endif()
if(QCA2_FOUND)
# target_link_libraries(plasmoidpackagetest ${QCA2_LIBRARIES})
endif()

View File

@ -2,10 +2,5 @@
#cmakedefine01 PLASMA_NO_SOLID
#cmakedefine01 PLASMA_NO_KIO
#cmakedefine01 PLASMA_NO_KUTILS
#cmakedefine01 PLASMA_NO_GLOBAL_SHORTCUTS
#cmakedefine01 HAVE_X11
#cmakedefine01 HAVE_GLX
/*FIXME: Only used in CMakeLists.txt, to be removed ?*/
#cmakedefine01 PLASMA_NO_KNEWSTUFF
#cmakedefine01 QCA2_FOUND

View File

@ -2,7 +2,6 @@
if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
set(PLASMA_NO_KDEWEBKIT TRUE)
set(PLASMA_NO_KNEWSTUFF TRUE)
set(PLASMA_NO_SOLID TRUE)
set(PLASMA_NO_KIO TRUE)
endif()

View File

@ -2,7 +2,6 @@
if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
set(PLASMA_NO_KDEWEBKIT TRUE)
set(PLASMA_NO_KNEWSTUFF TRUE)
set(PLASMA_NO_SOLID TRUE)
set(PLASMA_NO_KIO TRUE)
endif()