dev-cafe / autocmake

CMake plugin composer.
http://autocmake.org
BSD 3-Clause "New" or "Revised" License
41 stars 18 forks source link

in generated CMakeLists.txt include modules with explicit path #256

Closed bast closed 5 years ago

bast commented 5 years ago

do not modify CMAKE_MODULE_PATH

we have seen that this can lead to trouble in combination with FetchContent where the fetched project can pick up wrong modules since CMAKE_MODULE_PATH can contain paths from the parent project