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
[CMake] CMake Error at /usr/local/lib/cmake/exiv2/exiv2Export.cmake:61 (set_target_properties):
1> [CMake] The link interface of target "Exiv2::exiv2lib" contains:
1> [CMake]
1> [CMake] inih::libinih
1> [CMake]
1> [CMake] but the target was not found. Possible reasons include:
1> [CMake]
1> [CMake] * There is a typo in the target name.
1> [CMake] * A find_package call is missing for an IMPORTED target.
1> [CMake] * An ALIAS target is missing.
1> [CMake]
1> [CMake] Call Stack (most recent call first):
1> [CMake] /usr/local/lib/cmake/exiv2/exiv2Config.cmake:38 (include)
1> [CMake] CMakeLists.txt:73 (find_package)
1> [CMake] -- Generating done (0.0s)
1> [CMake] CMake Generate step failed. Build files cannot be regenerated correctly.
I'm guessing that this may be related to FindBrotli.cmake, FindFilesystem.cmake and Findinih.cmake that are in the cmake directory of the archive, but are not copied to /usr/local/lib/cmake when the install is run. I could be totally wrong though.
What should I do to resolve the problem please
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I add:
to my top level CMakeLists.txt, and in the lower level CMakeLists.txt I have (e.g.):
I get a nastygram from CMake saying:
1```
Beta Was this translation helpful? Give feedback.
All reactions