Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 1 | --- a/framework/delibs/dethread/CMakeLists.txt |
| 2 | +++ b/framework/delibs/dethread/CMakeLists.txt |
| 3 | @@ -42,6 +42,7 @@ if (DE_OS_IS_UNIX) |
| 4 | add_definitions(-D__BSD_VISIBLE) |
| 5 | add_definitions(-D_XOPEN_SOURCE=600) |
| 6 | endif () |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 7 | + add_definitions(-D_XOPEN_SOURCE=600) |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 8 | add_definitions(-D_GNU_SOURCE) |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 9 | |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 10 | set(DETHREAD_LIBS ${DETHREAD_LIBS} pthread) |
| 11 | --- a/framework/qphelper/CMakeLists.txt |
| 12 | +++ b/framework/qphelper/CMakeLists.txt |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 13 | @@ -28,6 +28,7 @@ set(QPHELPER_LIBS |
| 14 | if (DE_OS_IS_UNIX OR DE_OS_IS_QNX) |
| 15 | # For vsnprintf() |
| 16 | add_definitions(-D_XOPEN_SOURCE=600) |
| 17 | + set(QPHELPER_LIBS ${QPHELPER_LIBS} execinfo) |
| 18 | endif () |
| 19 | |
| 20 | if (DE_OS_IS_WIN32 AND DE_COMPILER_IS_MSC) |