From 31f568c33692e543fc84179c783870c20844c3d0 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 26 Jan 2021 15:27:57 +0100 Subject: Fix: incomplete integration of PugiXML and Potrace build options Add them to the standard build configurations, disable properly when library not found and print as part of configuration overview. --- build_files/cmake/platform/platform_unix.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build_files/cmake/platform') diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index abacd0500e5..a2448829206 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -352,6 +352,11 @@ endif() if(WITH_PUGIXML) find_package_wrapper(PugiXML) + + if (NOT PUGIXML_FOUND) + set(WITH_PUGIXML OFF) + message(STATUS "PugiXML not found, disabling WITH_PUGIXML") + endif() endif() if(WITH_OPENIMAGEIO) -- cgit v1.2.3