pnoltes opened a new issue #118: Use imported target for find_package instead of <PKG>_LIBRARIES URL: https://github.com/apache/celix/issues/118 For modern CMake it is preferred to use imported targets instead of <PKG>_INCLUDE_DIRS and <PKG>_LIBRARIES variables. The main reasons are that missing targets leads to errors and variable expanded to nothing not and all transitive requirements can be added by one target_link_libraries statement (instead of combining link, include and definition statements). Another benefit is that the installed Celix targets - which in turn leads to imported target in a project using Celix - depends on targets instead of absolute path to libraries. To gives some tweaking room.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
