You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the syntax :: seems to be more modern and conventional in CMake, it has an obvious benefit.
If we try to use an IMPORTED target pango::display but forget to add it as a COMPONENT in find_package(). (BTW, I also hope that Pangolin introduce this kind of usage, like Qt, Boost, and Poco...etc)
Then, CMake will report a FATAL_ERROR message according to the policy CMP0028.
Target "myExe" links to target "pango::display" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
The text was updated successfully, but these errors were encountered:
For example:
pango::core
pango::display
pango::geometry
pango::glgeometry
pango::image
pango::opengl
While the syntax
::
seems to be more modern and conventional in CMake, it has an obvious benefit.If we try to use an IMPORTED target
pango::display
but forget to add it as a COMPONENT infind_package()
. (BTW, I also hope that Pangolin introduce this kind of usage, like Qt, Boost, and Poco...etc)Then, CMake will report a
FATAL_ERROR
message according to the policy CMP0028.The text was updated successfully, but these errors were encountered: