Commit c126ad81 authored by Michael Palimaka's avatar Michael Palimaka Committed by Urs Fleisch
Browse files

Fix build with kdelibs-4.14.11.

parent 7e7fe3c0
......@@ -473,6 +473,13 @@ else (UNIX AND NOT APPLE)
set(KID3_EXECUTABLE kid3)
endif (UNIX AND NOT APPLE)
if (BUILD_KDE_APP)
if (NOT HAVE_QT5)
find_package(KDE4 REQUIRED)
include (KDE4Defaults)
add_definitions(${KDE4_ENABLE_EXCEPTIONS})
endif (NOT HAVE_QT5)
endif (BUILD_KDE_APP)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
......
......@@ -2,7 +2,6 @@ if (BUILD_KDE_APP)
if (HAVE_QT5)
kf5_create_handbook(index.docbook)
else (HAVE_QT5)
find_package(KDE4 REQUIRED)
kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/de SUBDIR kid3)
endif (HAVE_QT5)
endif (BUILD_KDE_APP)
......
......@@ -2,7 +2,6 @@ if (BUILD_KDE_APP)
if (HAVE_QT5)
kf5_create_handbook(index.docbook)
else (HAVE_QT5)
find_package(KDE4 REQUIRED)
kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kid3)
endif (HAVE_QT5)
endif (BUILD_KDE_APP)
......
......@@ -65,8 +65,6 @@ if (BUILD_KDE_APP)
)
else (HAVE_QT5)
set(_cmakeInstallRpath "${CMAKE_INSTALL_RPATH}")
find_package(KDE4 REQUIRED)
include (KDE4Defaults)
if (BUILD_SHARED_LIBS)
# FindKDE4Internal.cmake will overwrite our RPATH if LIB_INSTALL_DIR (which
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment