diff --git a/src/kstyle/CMakeLists.txt b/src/kstyle/CMakeLists.txt --- a/src/kstyle/CMakeLists.txt +++ b/src/kstyle/CMakeLists.txt @@ -1,8 +1,6 @@ # create a Config.cmake and a ConfigVersion.cmake file and install them set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Style") -configure_file(config-kstyle.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kstyle.h ) - remove_definitions(-DQT_NO_CAST_FROM_ASCII) add_library(KF5Style kstyle.cpp) diff --git a/src/kstyle/config-kstyle.h.cmake b/src/kstyle/config-kstyle.h.cmake deleted file mode 100644 --- a/src/kstyle/config-kstyle.h.cmake +++ /dev/null @@ -1 +0,0 @@ -#cmakedefine01 HAVE_X11 diff --git a/src/kstyle/kstyle.cpp b/src/kstyle/kstyle.cpp --- a/src/kstyle/kstyle.cpp +++ b/src/kstyle/kstyle.cpp @@ -58,11 +58,6 @@ #include #include #include -#include -#if HAVE_X11 -#include -#include -#endif // ----------------------------------------------------------------------------