FIND_PATH(LIBUNWIND_INCLUDE_DIR libunwind.h)
if(NOT LIBUNWIND_INCLUDE_DIR)
- message(FATAL_ERROR "failed to find libunwind.h")
+ message(WARNING "failed to find libunwind.h")
set(LIBUNWIND_FOUND "")
elif(NOT EXISTS "${LIBUNWIND_INCLUDE_DIR}/unwind.h")
- message(FATAL_ERROR "libunwind.h was found, but unwind.h was not found in that directory.")
+ message(WARNING "libunwind.h was found, but unwind.h was not found in that directory.")
set(LIBUNWIND_FOUND "")
SET(LIBUNWIND_INCLUDE_DIR "")
endif()
MESSAGE(STATUS "Found libunwind library: ${LIBUNWIND_GENERIC_LIBRARY}")
else()
set(LIBUNWIND_FOUND "")
- MESSAGE(FATAL_ERROR "failed to find unwind generic library")
+ MESSAGE(WARNING "failed to find unwind generic library")
endif ()
SET(LIBUNWIND_LIBRARIES ${LIBUNWIND_GENERIC_LIBRARY})
unset(LIBUNWIND_GENERIC_LIBRARY)