CMakeLists: fix build without libunwind

This commit is contained in:
moneromooo-monero 2016-06-20 19:20:14 +01:00
parent 3c3537e8c6
commit f72388c1c6
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ if(LIBUNWIND_FOUND)
add_definitions("-DHAVE_LIBUNWIND") add_definitions("-DHAVE_LIBUNWIND")
else() else()
message(STATUS "Stack traces disabled") message(STATUS "Stack traces disabled")
set(LIBUNWIND_LIBRARIES "")
endif() endif()
if (UNIX AND NOT APPLE) if (UNIX AND NOT APPLE)