Show warning on missing backtrace libs
This commit is contained in:
parent
b210675893
commit
34c29ea88b
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ if( NOT IMLIB_BUILD_WITH_X )
|
|||
message( FATAL_ERROR "Imlib is not built with X support" )
|
||||
endif( NOT IMLIB_BUILD_WITH_X )
|
||||
|
||||
if( NOT BACKTRACE_LIBC_FOUND AND NOT UNWIND_FOUND AND NOT EXECINFO_FOUND )
|
||||
message( WARNING "Backtrace support not available. You can enable it with libexecinfo/libunwind or libc." )
|
||||
endif()
|
||||
|
||||
add_definitions( -D_GNU_SOURCE )
|
||||
|
||||
include_directories( ${PROJECT_BINARY_DIR}
|
||||
|
|
Loading…
Reference in a new issue