Dependencies builder: Don't rely on system-wide PugiXML

This commit is contained in:
Sergey Sharybin 2018-12-14 17:39:38 +01:00
parent 0658d047a9
commit 4e3562f45a
Notes: blender-bot 2023-02-14 05:02:32 +01:00
Referenced by issue #57773, New 2.79 builds from Master freezes when opening a 2.79b file and then Creating a New File
1 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,11 @@ if(WIN32)
${OSL_EXTRA_ARGS}
-DPUGIXML_HOME=${LIBDIR}/pugixml
)
elseif(UNIX AND NOT APPLE)
set(OSL_EXTRA_ARGS
${OSL_EXTRA_ARGS}
-DPUGIXML_HOME=${LIBDIR}/pugixml
)
elseif(APPLE)
# Make symbol hiding consistent with OIIO which defaults to OFF,
# avoids linker warnings on macOS