PengZheng opened a new pull request, #617:
URL: https://github.com/apache/celix/pull/617
If a downstream project uses `CelixConfig.cmake` as a template, it might
provide a config file like the following:
```CMake
get_filename_component(REL_INSTALL_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(REL_INSTALL_DIR "${REL_INSTALL_DIR}" PATH)
get_filename_component(REL_INSTALL_DIR "${REL_INSTALL_DIR}" PATH)
get_filename_component(REL_INSTALL_DIR "${REL_INSTALL_DIR}" PATH)
find_dependency(Celix)
include(${REL_INSTALL_DIR}/share/celix/cmake/CelixTargets.cmake)
```
Then `REL_INSTALL_DIR` will mess with the one used by `CelixConfig.cmake`,
leading to mysterious errors.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]