CHECK_SYMBOL_EXISTS() on FreeBSD

Allen Winter winter at kde.org
Tue Mar 13 21:38:23 CET 2007


Howdy,

In FindQt4.cmake, there is this command

CHECK_SYMBOL_EXISTS(Q_WS_X11 "QtCore/qglobal.h" Q_WS_X11)

that I don't think is working with cmake v2.4.6 on FreeBSD 6.2-STABLE

In CMakeCache. txt I see
Q_WS_X11:INTERNAL=
when it should have
Q_WS_X11:INTERNAL=1

If I correct that line by hand and re-run make, kdelibs builds fine.

Is this a possible bug in cmake on FreeBSD?  Or is something else wrong?

Regards,
Allen

PS:  In FindQt4.cmake, should we have
  CHECK_SYMBOL_EXISTS(Q_WS_X11 "QtCore/qglobal.h" Q_WS_X11)
  CHECK_SYMBOL_EXISTS(Q_WS_MAC "QtCore/qglobal.h" Q_WS_MAC)
  CHECK_SYMBOL_EXISTS(Q_WS_WIN "QtCore/qglobal.h" Q_WS_WIN)
   if (NOT Q_WS_X11 AND NOT Q_WS_MAC AND NOT Q_WS_WIN)
    message (FATAL_ERROR "BIG PROBLEM")
  endif(NOT....)


More information about the Kde-buildsystem mailing list