From f0aec6a26d3c70dcb030324ce20989a92f439535 Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Mon, 2 Jun 2014 16:50:02 +0200 Subject: [PATCH] Add warning about unknown executable format --- libbacktrace/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libbacktrace/CMakeLists.txt b/libbacktrace/CMakeLists.txt index 21fc9f3..ad7b2a0 100644 --- a/libbacktrace/CMakeLists.txt +++ b/libbacktrace/CMakeLists.txt @@ -110,6 +110,7 @@ if (CMAKE_EXECUTABLE_FORMAT STREQUAL "ELF") set (FORMAT_FILE elf.c dwarf.c) math (EXPR BACKTRACE_ELF_SIZE 8*${CMAKE_C_SIZEOF_DATA_PTR}) else () + message("WARNING: Unknown executable format \"${CMAKE_EXECUTABLE_FORMAT}\", setting BACKTRACE_SUPPORTED=0") set (FORMAT_FILE unknown.c) set (BACKTRACE_SUPPORTED 0) endif () -- 2.7.4