cpptrace/cmake
Adrien Cassagne d8e23c1e93
Add 'POSITION_INDEPENDENT_CODE ON' (also known as '-fPIE'). (#99)
First thx for these very useful lib!

I encountered some issues when linking with `libcpptrace`. Typically,
here is the error I got:
```
/usr/bin/ld: lib/cpptrace/lib/libcpptrace.a(cpptrace.cpp.o): relocation R_X86_64_32S against symbol `_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE@@GLIBCXX_3.4.21' can not be used when making a PIE object; recompile with -fPIE
```
I just added the `POSITION_INDEPENDENT_CODE ON` flag on the targets, and
now it works like a charm :-).
2024-03-05 08:57:04 -06:00
..
in Fix issues related to export directives 2024-02-07 21:40:52 -06:00
has_backtrace.cpp CMake improvements (#57) 2023-11-06 12:12:07 -05:00
has_cxx_exception_type.cpp Add specialized terminate handler and add error handling info to the README. Also updated demo. 2023-10-07 17:34:49 -04:00
has_cxxabi.cpp Build work (#1) 2023-07-01 22:14:05 -04:00
has_dl_find_object.cpp Check for _dl_find_object support 2023-11-19 23:17:11 -06:00
has_dl.cpp Auto config improvements (#20) 2023-07-23 23:59:34 -04:00
has_execinfo.cpp Build work (#1) 2023-07-01 22:14:05 -04:00
has_stackwalk.cpp Update has_stackwalk 2023-10-05 09:55:07 -04:00
has_unwind.cpp Libgcc unwind backend (#11) 2023-07-20 01:14:38 -04:00
InstallRules.cmake No longer try to install build/include 2024-01-29 23:31:40 -06:00
OptionVariables.cmake Add 'POSITION_INDEPENDENT_CODE ON' (also known as '-fPIE'). (#99) 2024-03-05 08:57:04 -06:00
PreventInSourceBuilds.cmake Adjust indentation 2023-11-15 00:36:02 -05:00
ProjectIsTopLevel.cmake Adjust indentation 2023-11-15 00:36:02 -05:00