hello all, I'm currently trying to figure out how to set up cmake to build tde stuff. problem is now, I don't know how to tell cmake to use e.g. TDEMacros.cmake (which I already got from svn in kde-common). I see TDEMacros.cmake contains function tde_add_library, but this is obviously not found, when trying to build project which uses this I get:
Unknown CMake command "tde_add_library"
although TDEMacros.cmake is here: /usr/share/cmake-2.8/Modules/TDEMacros.cmake
any hints welcome. thanks
werner
On Thursday 13 October 2011 20:49:14 Werner Joss wrote:
hello all, I'm currently trying to figure out how to set up cmake to build tde stuff. problem is now, I don't know how to tell cmake to use e.g. TDEMacros.cmake (which I already got from svn in kde-common). I see TDEMacros.cmake contains function tde_add_library, but this is obviously not found, when trying to build project which uses this I get:
Unknown CMake command "tde_add_library"
although TDEMacros.cmake is here: /usr/share/cmake-2.8/Modules/TDEMacros.cmake
include( TDEMacros.cmake )
any hints welcome. thanks
werner
On Thursday 13 October 2011 20:44:18 Serghei Amelian wrote:
Unknown CMake command "tde_add_library"
although TDEMacros.cmake is here: /usr/share/cmake-2.8/Modules/TDEMacros.cmake
include( TDEMacros.cmake )
ok, thanks for the hint ! (had to use
include( /usr/share/cmake-2.8/Modules/TDEMacros.cmake )
to get it to work, though. I suppose ${TDE_INCLUDE_DIR} is not recognized, somehow..)
werner