Hi!

Many (all?) KDE modules have the following string in the beginning of 
CMakeLists.txt:

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)

What do you think about replacing this string with the following?

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules 
${CMAKE_MODULE_PATH})

This would allow user to say, e.g.,

cmake ${kdenetowrk_src_dir} -
DCMAKE_MODULE_PATH=${libktorrent_prefix}/share/apps/cmake/modules

-- 
Yury G. Kudryashov

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to