blob: 99cb87b301800cefc1d9d614b2b823d28d9f2a90 [file] [log] [blame]
Andrew Geisslerf103a7f2021-05-07 16:09:40 -05001--- 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 Geissler748a4832020-07-24 16:24:21 -05007+ add_definitions(-D_XOPEN_SOURCE=600)
Andrew Geisslerf103a7f2021-05-07 16:09:40 -05008 add_definitions(-D_GNU_SOURCE)
Andrew Geissler748a4832020-07-24 16:24:21 -05009
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050010 set(DETHREAD_LIBS ${DETHREAD_LIBS} pthread)
11--- a/framework/qphelper/CMakeLists.txt
12+++ b/framework/qphelper/CMakeLists.txt
Andrew Geissler748a4832020-07-24 16:24:21 -050013@@ -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)