Revert "Build script: Don't use external Pugi for OSL"

The change did break compilation on default Ubuntu install for Stefan
and on default CentOS install for myself.

This reverts commit 64671e53d2.
This commit is contained in:
Sergey Sharybin
2019-06-26 10:52:24 +02:00
parent 005f90a434
commit bf1b00212a

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