mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 13:23:29 +01:00
cmake: fix some case of "backtrace lib not found" breaking
It fixes at least one case of building on ARM with Docker
This commit is contained in:
parent
581994b61c
commit
7d5cc0358b
@ -83,6 +83,14 @@ else()
|
|||||||
set(_Backtrace_STD_ARGS Backtrace_LIBRARY ${_Backtrace_STD_ARGS})
|
set(_Backtrace_STD_ARGS Backtrace_LIBRARY ${_Backtrace_STD_ARGS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
message(STATUS "Backtrace_LIBRARY: ${Backtrace_LIBRARY}")
|
||||||
|
if(Backtrace_LIBRARY STREQUAL "NOTFOUND")
|
||||||
|
set(Backtrace_LIBRARY "")
|
||||||
|
endif()
|
||||||
|
if(Backtrace_LIBRARY STREQUAL "Backtrace_LIBRARY-NOTFOUND")
|
||||||
|
set(Backtrace_LIBRARY "")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(Backtrace_LIBRARIES ${Backtrace_LIBRARY})
|
set(Backtrace_LIBRARIES ${Backtrace_LIBRARY})
|
||||||
set(Backtrace_HEADER "${_Backtrace_HEADER_TRY}" CACHE STRING "Header providing backtrace(3) facility")
|
set(Backtrace_HEADER "${_Backtrace_HEADER_TRY}" CACHE STRING "Header providing backtrace(3) facility")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user