build: Set LIBXML2_FOUND to prevent uninitialized variable use in static build

This commit is contained in:
Gabriel Ferreira
2024-04-18 20:11:49 +02:00
parent 9e35cbea28
commit 03a2015483

View File

@@ -579,6 +579,7 @@ macro(process_options)
endif()
endif()
set(LIBXML2_FOUND FALSE)
if(${NS3_STATIC})
# Warn users that they may be using shared libraries, which won't produce a
# standalone static library