Building 14.0.x, I get the error:
CMake Error at CMakeLists.txt:39 (include): include could not find requested file: TDEMacros
This is because of the removal of CMAKE_MODULE_PATH from CMakeLists.txt.
How does cmake now find the TDE cmake modules?
On Wednesday 25 of May 2022 00:21:02 ray-v--- via tde-devels wrote:
Building 14.0.x, I get the error:
CMake Error at CMakeLists.txt:39 (include): include could not find requested file: TDEMacros
This is because of the removal of CMAKE_MODULE_PATH from CMakeLists.txt.
How does cmake now find the TDE cmake modules? ____________________________________________________
Hi Ray-V,
starting with R14.0.11, cmake-trinity is built and installed as a separate package. As a result, it is no longer has to be a submodule, and there is no need to be like a subdirectory in the source code. Instead, cmake-trinity installs macros in the CMake system directory.
Therefore, CMAKE_MODULE_PATH no longer needs to be set and for the upcoming R14.0.13 it was removed from CMakeLists.txt.
Cheers
Thanks, the significance of the change had passed me by - 'cmake-trinity installs to the system CMake directories and TDE modules and templates are then seen as CMake builtins'.
I don't install cmake-trinity, so now I know what's going on, I'll adjust my build scripts.
On 2022/05/25 07:21 AM, ray-v--- via tde-devels wrote:
Building 14.0.x, I get the error:
CMake Error at CMakeLists.txt:39 (include): include could not find requested file: TDEMacros
This is because of the removal of CMAKE_MODULE_PATH from CMakeLists.txt.
How does cmake now find the TDE cmake modules? ____________________________________________________ tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydeskt...
Hi Ray, cmake-trinity is now a dependency module, so it should be build and install first. It should no longer be part of the source code of each modules.This was changed back in R14.0.11 https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/51 Recently we cleanup some code, so you now need to use the module as a dependency as intented. Cheers Michele