Closed tomikaa87 closed 6 months ago
Thanks for this - I actually found this last week when reviewing a compile problem with later gcc versions on linux - we trigger the compile for this module from another CmakeLists.txt which has this option set, so it masked the issue with the public repo cmake compilation. The android build suffers the same issue.
Our updates take a somewhat circuitous route to make it to the public repo, so we can't directly accept pull requests, but thanks again for the feedback.
Hi,
I've tried building Cmajor on Kubuntu Linux 22.04.4 with GCC 11.4, and I got the following error regarding a linker failure.
As the compiler suggested, I've added the missing flag to the Cmajor library to make it position-independent.