2008-10-17 17:49:41 +00:00
|
|
|
--- cmake/modules/FindKDE4Internal.cmake.orig 2008-09-05 12:25:51.000000000 +0200
|
|
|
|
+++ cmake/modules/FindKDE4Internal.cmake 2008-09-05 12:37:45.000000000 +0200
|
2008-07-23 16:14:00 +00:00
|
|
|
@@ -15,10 +15,10 @@
|
|
|
|
# The following variables are defined for the various tools required to
|
|
|
|
# compile KDE software:
|
|
|
|
#
|
|
|
|
-# KDE4_KCFGC_EXECUTABLE - the kconfig_compiler executable
|
|
|
|
+# KDE4_KCFGC_EXECUTABLE - the kconfig_compiler4 executable
|
|
|
|
# KDE4_AUTOMOC_EXECUTABLE - the kde4automoc executable, deprecated, use AUTOMOC4_EXECUTABLE instead
|
|
|
|
# KDE4_MEINPROC_EXECUTABLE - the meinproc4 executable
|
|
|
|
-# KDE4_MAKEKDEWIDGETS_EXECUTABLE - the makekdewidgets executable
|
|
|
|
+# KDE4_MAKEKDEWIDGETS_EXECUTABLE - the makekdewidgets4 executable
|
|
|
|
#
|
|
|
|
# The following variables point to the location of the KDE libraries,
|
|
|
|
# but shouldn't be used directly:
|
2008-10-17 17:49:41 +00:00
|
|
|
@@ -72,7 +72,7 @@
|
|
|
|
# KDE4_KNEPOMUK_LIBS - the knepomuk library and all depending libraries
|
|
|
|
# KDE4_KMETADATA_LIBS - the kmetadata library and all depending libraries
|
|
|
|
#
|
|
|
|
-# This module defines a bunch of variables used as locations for install directories.
|
|
|
|
+# This module defines a bunch of variables used as locations for install directories.
|
|
|
|
# They can be relative (to CMAKE_INSTALL_PREFIX) or absolute.
|
|
|
|
# Under Windows they are always relative.
|
|
|
|
#
|
2008-07-23 16:14:00 +00:00
|
|
|
@@ -124,7 +124,7 @@
|
|
|
|
# Use optional GENERATE_MOC to generate moc if you use signals in your kcfg files.
|
|
|
|
#
|
|
|
|
# KDE4_ADD_WIDGET_FILES (SRCS_VAR file1.widgets ... fileN.widgets)
|
|
|
|
-# Use this to add widget description files for the makekdewidgets code generator
|
|
|
|
+# Use this to add widget description files for the makekdewidgets4 code generator
|
|
|
|
# for Qt Designer plugins.
|
|
|
|
#
|
|
|
|
# KDE4_CREATE_FINAL_FILES (filename_CXX filename_C file1 ... fileN)
|
2008-10-17 17:49:41 +00:00
|
|
|
@@ -292,9 +292,9 @@
|
|
|
|
find_package(Perl ${_REQ_STRING_KDE4})
|
|
|
|
|
|
|
|
# Check that we really found everything.
|
|
|
|
-# If KDE4 was searched with REQUIRED, we error out with FATAL_ERROR if something wasn't found
|
|
|
|
+# If KDE4 was searched with REQUIRED, we error out with FATAL_ERROR if something wasn't found
|
|
|
|
# already above in the other FIND_PACKAGE() calls.
|
|
|
|
-# If KDE4 was searched without REQUIRED and something in the FIND_PACKAGE() calls above wasn't found,
|
|
|
|
+# If KDE4 was searched without REQUIRED and something in the FIND_PACKAGE() calls above wasn't found,
|
|
|
|
# then we get here and must check that everything has actually been found. If something is missing,
|
|
|
|
# we must not fail with FATAL_ERROR, but only not set KDE4_FOUND.
|
|
|
|
if(NOT PERL_FOUND)
|
|
|
|
@@ -362,23 +362,23 @@
|
2008-07-23 16:14:00 +00:00
|
|
|
if (WIN32)
|
|
|
|
set(LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH} )
|
|
|
|
# CMAKE_CFG_INTDIR is the output subdirectory created e.g. by XCode and MSVC
|
|
|
|
- set(KDE4_KCFGC_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/kconfig_compiler )
|
|
|
|
+ set(KDE4_KCFGC_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/kconfig_compiler4 )
|
|
|
|
|
|
|
|
set(KDE4_MEINPROC_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/meinproc4 )
|
|
|
|
- set(KDE4_MAKEKDEWIDGETS_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/makekdewidgets )
|
|
|
|
+ set(KDE4_MAKEKDEWIDGETS_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/makekdewidgets4 )
|
|
|
|
else (WIN32)
|
|
|
|
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib )
|
|
|
|
- set(KDE4_KCFGC_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/kconfig_compiler.shell )
|
|
|
|
+ set(KDE4_KCFGC_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/kconfig_compiler4.shell )
|
|
|
|
|
|
|
|
set(KDE4_MEINPROC_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/meinproc4.shell )
|
|
|
|
- set(KDE4_MAKEKDEWIDGETS_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/makekdewidgets.shell )
|
|
|
|
+ set(KDE4_MAKEKDEWIDGETS_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/makekdewidgets4.shell )
|
|
|
|
endif (WIN32)
|
|
|
|
|
|
|
|
set(KDE4_LIB_DIR ${LIBRARY_OUTPUT_PATH}/${CMAKE_CFG_INTDIR})
|
|
|
|
|
|
|
|
# when building kdelibs, make the kcfg rules depend on the binaries...
|
|
|
|
- set( _KDE4_KCONFIG_COMPILER_DEP kconfig_compiler)
|
|
|
|
- set( _KDE4_MAKEKDEWIDGETS_DEP makekdewidgets)
|
|
|
|
+ set( _KDE4_KCONFIG_COMPILER_DEP kconfig_compiler4)
|
|
|
|
+ set( _KDE4_MAKEKDEWIDGETS_DEP makekdewidgets4)
|
|
|
|
set( _KDE4_MEINPROC_EXECUTABLE_DEP meinproc4)
|
|
|
|
|
|
|
|
set(KDE4_INSTALLED_VERSION_OK TRUE)
|
2008-10-17 17:49:41 +00:00
|
|
|
@@ -429,11 +429,11 @@
|
|
|
|
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib )
|
|
|
|
|
|
|
|
if (WIN32)
|
|
|
|
- # we don't want to be forced to set two paths into the build tree
|
|
|
|
+ # we don't want to be forced to set two paths into the build tree
|
|
|
|
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin )
|
|
|
|
|
|
|
|
# on win32 the install dir is determined on runtime not install time
|
|
|
|
- # KDELIBS_INSTALL_DIR and QT_INSTALL_DIR are used in KDELibsDependencies.cmake to setup
|
|
|
|
+ # KDELIBS_INSTALL_DIR and QT_INSTALL_DIR are used in KDELibsDependencies.cmake to setup
|
|
|
|
# kde install paths and library dependencies
|
|
|
|
get_filename_component(_DIR ${KDE4_KDECONFIG_EXECUTABLE} PATH )
|
|
|
|
get_filename_component(KDE4_INSTALL_DIR ${_DIR} PATH )
|
|
|
|
@@ -445,69 +445,69 @@
|
2008-07-23 16:14:00 +00:00
|
|
|
include(${kde_cmake_module_dir}/KDELibsDependencies.cmake)
|
|
|
|
|
|
|
|
if (UNIX)
|
|
|
|
- find_library(KDE4_KDEFAKES_LIBRARY NAMES kdefakes PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KDEFAKES_LIBRARY NAMES kdefakes PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KDEFAKES_LIBS ${kdefakes_LIB_DEPENDS} ${KDE4_KDEFAKES_LIBRARY} )
|
|
|
|
endif (UNIX)
|
|
|
|
|
|
|
|
- find_library(KDE4_KDECORE_LIBRARY NAMES kdecore PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KDECORE_LIBRARY NAMES kdecore PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KDECORE_LIBS ${kdecore_LIB_DEPENDS} ${KDE4_KDECORE_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KDEUI_LIBRARY NAMES kdeui PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KDEUI_LIBRARY NAMES kdeui PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KDEUI_LIBS ${kdeui_LIB_DEPENDS} ${KDE4_KDEUI_LIBRARY} )
|
|
|
|
- find_library(KDE4_KIO_LIBRARY NAMES kio PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KIO_LIBRARY NAMES kio PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KIO_LIBS ${kio_LIB_DEPENDS} ${KDE4_KIO_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KPARTS_LIBRARY NAMES kparts PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KPARTS_LIBRARY NAMES kparts PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KPARTS_LIBS ${kparts_LIB_DEPENDS} ${KDE4_KPARTS_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KUTILS_LIBRARY NAMES kutils PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KUTILS_LIBRARY NAMES kutils PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KUTILS_LIBS ${kutils_LIB_DEPENDS} ${KDE4_KUTILS_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KDE3SUPPORT_LIBRARY NAMES kde3support PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KDE3SUPPORT_LIBRARY NAMES kde3support PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KDE3SUPPORT_LIBS ${kde3support_LIB_DEPENDS} ${KDE4_KDE3SUPPORT_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KFILE_LIBRARY NAMES kfile PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KFILE_LIBRARY NAMES kfile PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KFILE_LIBS ${kfile_LIB_DEPENDS} ${KDE4_KFILE_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KHTML_LIBRARY NAMES khtml PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KHTML_LIBRARY NAMES khtml PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KHTML_LIBS ${khtml_LIB_DEPENDS} ${KDE4_KHTML_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KJS_LIBRARY NAMES kjs PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KJS_LIBRARY NAMES kjs PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KJS_LIBS ${kjs_LIB_DEPENDS} ${KDE4_KJS_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KJSAPI_LIBRARY NAMES kjsapi PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KJSAPI_LIBRARY NAMES kjsapi PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KJSAPI_LIBS ${kjsapi_LIB_DEPENDS} ${KDE4_KJSAPI_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KNEWSTUFF2_LIBRARY NAMES knewstuff2 PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KNEWSTUFF2_LIBRARY NAMES knewstuff2 PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KNEWSTUFF2_LIBS ${knewstuff2_LIB_DEPENDS} ${KDE4_KNEWSTUFF2_LIBRARY} )
|
|
|
|
|
|
|
|
if (UNIX)
|
|
|
|
- find_library(KDE4_KPTY_LIBRARY NAMES kpty PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KPTY_LIBRARY NAMES kpty PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KPTY_LIBS ${kpty_LIB_DEPENDS} ${KDE4_KPTY_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KDESU_LIBRARY NAMES kdesu PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KDESU_LIBRARY NAMES kdesu PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KDESU_LIBS ${kdesu_LIB_DEPENDS} ${KDE4_KDESU_LIBRARY} )
|
|
|
|
endif (UNIX)
|
|
|
|
|
|
|
|
- find_library(KDE4_KDNSSD_LIBRARY NAMES kdnssd PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KDNSSD_LIBRARY NAMES kdnssd PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KDNSSD_LIBS ${kdnssd_LIB_DEPENDS} ${KDE4_KDNSSD_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_SOLID_LIBRARY NAMES solid PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_SOLID_LIBRARY NAMES solid PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_SOLID_LIBS ${solid_LIB_DEPENDS} ${KDE4_SOLID_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_THREADWEAVER_LIBRARY NAMES threadweaver PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_THREADWEAVER_LIBRARY NAMES threadweaver PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_THREADWEAVER_LIBRARIES ${threadweaver_LIB_DEPENDS} ${KDE4_THREADWEAVER_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KNOTIFYCONFIG_LIBRARY NAMES knotifyconfig PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KNOTIFYCONFIG_LIBRARY NAMES knotifyconfig PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KNOTIFYCONFIG_LIBS ${knotifyconfig_LIB_DEPENDS} ${KDE4_KNOTIFYCONFIG_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KROSSCORE_LIBRARY NAMES krosscore PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KROSSCORE_LIBRARY NAMES krosscore PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KROSSCORE_LIBS ${krosscore_LIB_DEPENDS} ${KDE4_KROSSCORE_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KROSSUI_LIBRARY NAMES krossui PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KROSSUI_LIBRARY NAMES krossui PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KROSSUI_LIBS ${krossui_LIB_DEPENDS} ${KDE4_KROSSCORE_LIBS} ${KDE4_KROSSUI_LIBRARY} )
|
|
|
|
|
|
|
|
- find_library(KDE4_KTEXTEDITOR_LIBRARY NAMES ktexteditor PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_library(KDE4_KTEXTEDITOR_LIBRARY NAMES ktexteditor PATHS ${KDE4_LIB_INSTALL_DIR}/kde4/devel NO_DEFAULT_PATH )
|
|
|
|
set(KDE4_KTEXTEDITOR_LIBS ${ktexteditor_LIB_DEPENDS} ${KDE4_KTEXTEDITOR_LIBRARY} )
|
|
|
|
|
|
|
|
# Can't do that, it's not always compiled.
|
2008-10-17 17:49:41 +00:00
|
|
|
@@ -526,14 +526,14 @@
|
2008-07-23 16:14:00 +00:00
|
|
|
|
|
|
|
# at first look in LIBEXEC_INSTALL_DIR and no default paths,
|
|
|
|
# if this didn't succeed, the second call makes cmake search again, but in the standard paths
|
|
|
|
- find_program(KDE4_KCFGC_EXECUTABLE NAME kconfig_compiler PATHS ${KDE4_BIN_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
- find_program(KDE4_KCFGC_EXECUTABLE NAME kconfig_compiler )
|
|
|
|
+ find_program(KDE4_KCFGC_EXECUTABLE NAME kconfig_compiler4 PATHS ${KDE4_BIN_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_program(KDE4_KCFGC_EXECUTABLE NAME kconfig_compiler4 )
|
|
|
|
|
|
|
|
find_program(KDE4_MEINPROC_EXECUTABLE NAME meinproc4 PATHS ${KDE4_BIN_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
find_program(KDE4_MEINPROC_EXECUTABLE NAME meinproc4 )
|
|
|
|
|
|
|
|
- find_program(KDE4_MAKEKDEWIDGETS_EXECUTABLE NAME makekdewidgets PATHS ${KDE4_BIN_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
- find_program(KDE4_MAKEKDEWIDGETS_EXECUTABLE NAME makekdewidgets )
|
|
|
|
+ find_program(KDE4_MAKEKDEWIDGETS_EXECUTABLE NAME makekdewidgets4 PATHS ${KDE4_BIN_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
+ find_program(KDE4_MAKEKDEWIDGETS_EXECUTABLE NAME makekdewidgets4 )
|
|
|
|
|
|
|
|
# allow searching cmake modules in all given kde install locations (KDEDIRS based)
|
|
|
|
execute_process(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}" --path data OUTPUT_VARIABLE _data_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
|
2008-10-17 17:49:41 +00:00
|
|
|
@@ -570,14 +570,14 @@
|
|
|
|
|
|
|
|
# # This option enables the reduced link interface for libs on UNIX
|
|
|
|
# #
|
|
|
|
-# # The purpose of the KDE4_DISABLE_PROPERTY_ variable is to be used as a prefix for
|
|
|
|
+# # The purpose of the KDE4_DISABLE_PROPERTY_ variable is to be used as a prefix for
|
|
|
|
# # the target property LINK_INTERFACE_LIBRARIES. If it is empty, the property will have its
|
|
|
|
# # correct name, if it's not empty, it will be a different name, i.e. the actual property
|
|
|
|
# # will not be set, i.e. disabled. See kdelibs/kdecore/CMakeLists.txt for an example.
|
|
|
|
# #
|
|
|
|
-# # By default (i.e. also for Windows) make it non-empty, so the property name will
|
|
|
|
-# # change from "LINK_INTERFACE_LIBRARIES" to "DISABLED_LINK_INTERFACE_LIBRARIES",
|
|
|
|
-# # which is a different (non-existing) target property, and so setting that property
|
|
|
|
+# # By default (i.e. also for Windows) make it non-empty, so the property name will
|
|
|
|
+# # change from "LINK_INTERFACE_LIBRARIES" to "DISABLED_LINK_INTERFACE_LIBRARIES",
|
|
|
|
+# # which is a different (non-existing) target property, and so setting that property
|
|
|
|
# # won't have an effect
|
|
|
|
|
|
|
|
# disable this for now for Windows, since there is an issue with the use of "debug" and
|
|
|
|
@@ -586,7 +586,7 @@
|
|
|
|
# disable the reduced linking temporarily for Windows, cmake HEAD and the soon-to-be-released cmake 2.6.2
|
|
|
|
# With 2.6.0 and 2.6.1 it can happen that the "debug", "optimized" and "general" keywords are
|
|
|
|
# misinterpreted by cmake as library names, the linking fails. Usually this happens under Windows.
|
|
|
|
-# In 2.6.2 this will be an error at cmake time, so we disable it for now and once we require
|
|
|
|
+# In 2.6.2 this will be an error at cmake time, so we disable it for now and once we require
|
|
|
|
# 2.6.2 we'll fix it the right way (using TARGET_LINK_LIBRARIES(foo LINK_INTERFACE_LIBRARIES ...)
|
|
|
|
if (WIN32 OR "${CMAKE_MINOR_VERSION}" EQUAL 7 OR "${CMAKE_PATCH_VERSION}" EQUAL 2)
|
|
|
|
set(KDE4_DISABLE_PROPERTY_ "DISABLED_")
|
|
|
|
@@ -747,7 +747,7 @@
|
|
|
|
|
|
|
|
# The INSTALL_TARGETS_DEFAULT_ARGS variable should be used when libraries are installed.
|
|
|
|
# The arguments are also ok for regular executables, i.e. executables which don't go
|
|
|
|
-# into sbin/ or libexec/, but for installing executables the basic syntax
|
|
|
|
+# into sbin/ or libexec/, but for installing executables the basic syntax
|
|
|
|
# INSTALL(TARGETS kate DESTINATION "${BIN_INSTALL_DIR}")
|
|
|
|
# is enough, so using this variable there doesn't help a lot.
|
|
|
|
# The variable must not be used for installing plugins.
|
|
|
|
@@ -757,7 +757,7 @@
|
|
|
|
# This will install libraries correctly under UNIX, OSX and Windows (i.e. dll's go
|
|
|
|
# into bin/.
|
|
|
|
# Later on it will be possible to extend this for installing OSX frameworks
|
|
|
|
-# The COMPONENT Devel argument has the effect that static libraries belong to the
|
|
|
|
+# The COMPONENT Devel argument has the effect that static libraries belong to the
|
|
|
|
# "Devel" install component. If we use this also for all install() commands
|
|
|
|
# for header files, it will be possible to install
|
|
|
|
# -everything: make install OR cmake -P cmake_install.cmake
|
|
|
|
@@ -789,13 +789,14 @@
|
|
|
|
set(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH}
|
|
|
|
"${KDE4_BIN_INSTALL_DIR}" )
|
2008-07-23 16:14:00 +00:00
|
|
|
|
|
|
|
-set(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
|
|
|
|
+set(CMAKE_SYSTEM_LIBRARY_PATH "${KDE4_LIB_INSTALL_DIR}/kde4/devel"
|
2008-10-17 17:49:41 +00:00
|
|
|
+ ${CMAKE_SYSTEM_LIBRARY_PATH}
|
|
|
|
"${KDE4_LIB_INSTALL_DIR}" )
|
|
|
|
|
|
|
|
# under Windows dlls may be also installed in bin/
|
|
|
|
if(WIN32)
|
|
|
|
- set(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
|
|
|
|
- "${_CMAKE_INSTALL_DIR}/bin"
|
|
|
|
+ set(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
|
|
|
|
+ "${_CMAKE_INSTALL_DIR}/bin"
|
|
|
|
"${CMAKE_INSTALL_PREFIX}/bin" )
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
@@ -819,8 +820,8 @@
|
|
|
|
|
|
|
|
find_package(KDEWIN32 REQUIRED)
|
|
|
|
|
|
|
|
- # limit win32 packaging to kdelibs at now
|
|
|
|
- # don't know if package name, version and notes are always available
|
|
|
|
+ # limit win32 packaging to kdelibs at now
|
|
|
|
+ # don't know if package name, version and notes are always available
|
|
|
|
if(_kdeBootStrapping)
|
|
|
|
find_package(KDEWIN_Packager)
|
|
|
|
if (KDEWIN_PACKAGER_FOUND)
|
|
|
|
@@ -1185,9 +1186,9 @@
|
2008-07-23 16:14:00 +00:00
|
|
|
endif (NOT _kdeBootStrapping)
|
|
|
|
|
|
|
|
if(KDE4_KCFGC_EXECUTABLE)
|
|
|
|
- message(STATUS "Found KDE4 kconfig_compiler preprocessor: ${KDE4_KCFGC_EXECUTABLE}")
|
|
|
|
+ message(STATUS "Found KDE4 kconfig_compiler4 preprocessor: ${KDE4_KCFGC_EXECUTABLE}")
|
|
|
|
else(KDE4_KCFGC_EXECUTABLE)
|
|
|
|
- message(STATUS "Didn't find the KDE4 kconfig_compiler preprocessor")
|
|
|
|
+ message(STATUS "Didn't find the KDE4 kconfig_compiler4 preprocessor")
|
|
|
|
endif(KDE4_KCFGC_EXECUTABLE)
|
|
|
|
|
|
|
|
if(AUTOMOC4_EXECUTABLE)
|
2008-10-17 17:49:41 +00:00
|
|
|
@@ -1228,7 +1229,7 @@
|
|
|
|
${KDE4_INCLUDE_DIR}/KDE
|
|
|
|
${KDE4_PHONON_INCLUDES}
|
|
|
|
${QT_INCLUDES}
|
|
|
|
- ${_KDE4_PLATFORM_INCLUDE_DIRS}
|
|
|
|
+ ${_KDE4_PLATFORM_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(KDE4_DEFINITIONS ${_KDE4_PLATFORM_DEFINITIONS} -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS )
|