+if (WIN32)
+ set(SOURCES ${SOURCES} logbacktrace_win.cpp windowssignalwatcher.cpp)
+else()
+ if (EXECINFO_FOUND)
+ add_definitions(-DHAVE_EXECINFO)
+ include_directories(${EXECINFO_INCLUDES})
+ endif()
+ set(SOURCES ${SOURCES} logbacktrace_unix.cpp posixsignalwatcher.cpp)
+endif()