FindQt4.cmake synced with the version from cmake

Jens-Michael Hoffmann jensmh at gmx.de
Mon Dec 21 08:58:20 CET 2009


On Sunday, 20. December 2009 17:23:35 Alexander Neundorf wrote:
> Hi,
> 
> our FindQt4.cmake in kdelibs/cmake/modules/ is now basically synced with
>  the version from current cmake.
> The big change today was to merge the way how the libraries are found from
>  the cmake-version into ours.
> I tested it here on my linux box and didn't notice any problems.
> 
> Please give it a good try, especially on Windows and OSX, and let me know
>  if there are problems (should be mostly that libraries are not found).

I'm not sure if it is related, but I cannot build kdepimlibs (and basically 
all other modules besides kdesupport and kdelibs) anymore.

# kdesvn-build running: 'cmake' '/home/jmho/kde-devel/kdesvn/kdepimlibs' '-
DCMAKE_BUILD_TYPE=debugfull' '-DCMAKE_CXX_FLAGS:STRING=-pipe' '-
DCMAKE_INSTALL_PREFIX=/home/jmho/kde-devel/kde'
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.0 (using /home/jmho/kde-devel/qt4/bin/qmake)
-- Looking for XOpenDisplay in 
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in 
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so 
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /home/jmho/kde-devel/kde/bin/automoc4
-- Found Perl: /usr/bin/perl
CMake Error at /home/jmho/kde-
devel/kde/share/apps/cmake/modules/KDELibs4LibraryTargets-debugfull.cmake:209 
(SET_TARGET_PROPERTIES):
  Property IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUGFULL may not contain
  link-type keyword "optimized".  The IMPORTED_LINK_INTERFACE_LIBRARIES
  property has a per-configuration version called
  IMPORTED_LINK_INTERFACE_LIBRARIES_<CONFIG> which may be used to specify
  per-configuration rules.
Call Stack (most recent call first):
  /home/jmho/kde-
devel/kde/share/apps/cmake/modules/KDELibs4LibraryTargets.cmake:115 (INCLUDE)
  /home/jmho/kde-devel/kde/share/apps/cmake/modules/FindKDE4Internal.cmake:543 
(include)
  /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
  CMakeLists.txt:21 (find_package)


Best Regards

Jens-Michael


More information about the Kde-buildsystem mailing list