Closed JoergAtGithub closed 1 year ago
Hello. You probably need -latomic
. Can you check if that works?
Yes -latomic
works of cause, but adding a general dependency, which is only needed by one of the major compilers, is not how CMake is supposed to be used.
CMake should test during configuration phase, which dependencies are needed on the particular platform, and than link only these.
Absolutely! I just wanted to verify that there are no other issues here. We'll look into making CMake conditionally add this dependency.
I'm closing this issue since it should be resolved with 1f12bcb81119919bb5b004d8771929cd6b3ac912.
I got the following linker error, when I compile with clang or clazy:
I could fix this, by including the following CMake module from KDE to my project: https://invent.kde.org/graphics/krita/-/commit/c2ea92c55535f00cf72661680e1ee8fb10116d74