diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-01-26 17:27:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-01-26 17:55:27 +0300 |
commit | 31f568c33692e543fc84179c783870c20844c3d0 (patch) | |
tree | c28261085a76c9d38ec3b63d9f95479f7b7c3cbf /build_files/cmake/platform | |
parent | dde3ecc1a88f1838a77917d92341a0078b55c47e (diff) |
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.
Diffstat (limited to 'build_files/cmake/platform')
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
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) |