CMAKE_MODULE_PATH is a directory list and shall be appended via list(APPEND
Additionally hardened paths by using PROJECT_SOURCE_DIR
Note
No major change but ensures when CMAKE_MODULE_PATH has been defined with alternative defaults on the command-line or via use of CMAKE_PROJECT_TOP_LEVEL_INCLUDES
Description of Change(s)
CMAKE_MODULE_PATH
is a directory list and shall be appended vialist(APPEND
Note
No major change but ensures when
CMAKE_MODULE_PATH
has been defined with alternative defaults on the command-line or via use ofCMAKE_PROJECT_TOP_LEVEL_INCLUDES