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
-- Found Corrade: /Users/smallville7123/Desktop/Dummy/corrade/src found components: Containers rc Utility
CMake Error at CMakeLists.txt:26 (target_link_libraries):
Target "Corrade" of type UTILITY may not be linked into another target.
One may link only to INTERFACE, OBJECT, STATIC or SHARED libraries, or to
executables with the ENABLE_EXPORTS property set.
The text was updated successfully, but these errors were encountered:
mgood7123
changed the title
make subproject clarification
make subproject clarification (Target "Corrade" of type UTILITY may not be linked into another target.)
Mar 3, 2021
mosra
changed the title
make subproject clarification (Target "Corrade" of type UTILITY may not be linked into another target.)
Add a target_link_libraries() usage example to Corrade CMake docs
Mar 3, 2021
I'll update the docs to show an example target_link_libraries() for this to avoid mistakes with linking just Corrade, all other libs have it already so why not here.
I'll update the docs to show an example target_link_libraries() for this to avoid mistakes with linking just Corrade, all other libs have it already so why not here.
I followed the instructions from
https://doc.magnum.graphics/corrade/corrade-cmake.html#corrade-cmake-subproject
the test case is https://github.com/mgood7123/Dummy
when building I get
the CMakeFile is https://github.com/mgood7123/Dummy/blob/main/CMakeLists.txt
this happens even if I disable everything
what could I be doing incorrectly?
The text was updated successfully, but these errors were encountered: