Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-11-30 00:01:33 +0300
committerRay Molenkamp <github@lazydodo.com>2020-11-30 00:01:33 +0300
commitdca9aa0053f7d711c1b42a4f2042827a1e286bea (patch)
tree89ff74b5ec88860a51bc94dfa319dfb32ac3e860 /build_files/build_environment/cmake/osl.cmake
parent176324aa5cfcf0703dfae296028bc3aef1ff5f14 (diff)
Deps: PugiXML 1.10
This separates out PugiXML that was previously bundled by OIIO. As this linux/mac libs are not available this commit only contains the builder and windows changes, and the option to enable pugixml is guarded by a platform if, this can be removed once all platforms have committed the svn libs. For details see D8628
Diffstat (limited to 'build_files/build_environment/cmake/osl.cmake')
-rw-r--r--build_files/build_environment/cmake/osl.cmake18
1 files changed, 3 insertions, 15 deletions
diff --git a/build_files/build_environment/cmake/osl.cmake b/build_files/build_environment/cmake/osl.cmake
index db70b2937b8..118657461fe 100644
--- a/build_files/build_environment/cmake/osl.cmake
+++ b/build_files/build_environment/cmake/osl.cmake
@@ -78,14 +78,10 @@ set(OSL_EXTRA_ARGS
-DINSTALL_DOCS=OFF
${OSL_SIMD_FLAGS}
-DPARTIO_LIBRARIES=
+ -DPUGIXML_HOME=${LIBDIR}/pugixml
)
-if(WIN32)
- set(OSL_EXTRA_ARGS
- ${OSL_EXTRA_ARGS}
- -DPUGIXML_HOME=${LIBDIR}/pugixml
- )
-elseif(APPLE)
+if(APPLE)
# Make symbol hiding consistent with OIIO which defaults to OFF,
# avoids linker warnings on macOS
set(OSL_EXTRA_ARGS
@@ -114,17 +110,9 @@ add_dependencies(
external_zlib
external_flexbison
external_openimageio
+ external_pugixml
)
-if(UNIX)
- # Rely on PugiXML compiled with OpenImageIO
-else()
- add_dependencies(
- external_osl
- external_pugixml
- )
-endif()
-
if(WIN32)
if(BUILD_MODE STREQUAL Release)
ExternalProject_Add_Step(external_osl after_install