Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
"New" style CMake (actually not really new) allows the use of imported targets linked to the projects own targets to carry all the information needed to use the library and so is much simpler and more foolproof to use.
This is like (a simple and complete example):
project(example LANGUAGES CXX) find_package(Qpid REQUIRED) add_executable(example example.cpp) target_link_library(example Qpid::qpid)
We should support and encourage this kind of use.