[CMake] FindQt4.cmake, which one ?
frederic heem
frederic.heem at telsey.it
Thu Oct 5 06:58:26 EDT 2006
Hi,
After upgrading from cmake 2.4.3 to cmake in cvs, cmake aborts because the
macro QT4_ADD_DBUS_INTERFACE. Indeed, FindQt4.cmake was downloaded from the
kde project and the FindQt4.cmake from cvs does not contain this macro.
Basically, all FindQt4.cmake are different and incompatible.
At the moment, to ensure one application will compile across different
distributions and with different cmake, this only choice is to copy all
necessary FindXXX.cmake to one application directory and set the variable
CMAKE_MODULE_PATH to this directory, for instance.
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
Is there any other (better) solution for this problem ?
Frederic
More information about the CMake
mailing list