mirror of
https://github.com/monero-project/monero.git
synced 2026-01-26 06:14:29 +01:00
unbound: fix type checking
This commit is contained in:
4
external/unbound/configure_checks.cmake
vendored
4
external/unbound/configure_checks.cmake
vendored
@@ -104,10 +104,10 @@ function (check_type_exists type variable header default)
|
|||||||
set(CMAKE_EXTRA_INCLUDE_FILES "${header}")
|
set(CMAKE_EXTRA_INCLUDE_FILES "${header}")
|
||||||
check_type_size("${type}" "${variable}")
|
check_type_size("${type}" "${variable}")
|
||||||
|
|
||||||
if (${variable} STREQUAL "")
|
if (NOT HAVE_${type})
|
||||||
set("${variable}" "${default}" PARENT_SCOPE)
|
set("${variable}" "${default}" PARENT_SCOPE)
|
||||||
else ()
|
else ()
|
||||||
set("${variable}" "" PARENT_SCOPE)
|
set("${variable}" "FALSE" PARENT_SCOPE)
|
||||||
endif ()
|
endif ()
|
||||||
endfunction ()
|
endfunction ()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user