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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-12-24 16:36:04 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-12-24 16:41:06 +0300
commit64671e53d20c2a30c64b98c747b0e002218c3952 (patch)
tree548d68fed5e07b7f906df947d60978fadd94d0e5 /build_files/build_environment/cmake/osl.cmake
parent1ac311cedc1a4694a3dd410776296747f8625e1d (diff)
Build script: Don't use external Pugi for OSL
Now, things are becoming REALLY confusing. The script does build pugi, but is never telling OIIO to use an external one. Which makes it to use a bundled one. Trying to link OSL to a different version of pugi causes a lot of linking errors. Interestingly enough, that was me who made OSL to use external pugi to solve configuration problem. But now i can not reproduce that anymore. Ideally we would either link everything against our pugi, or not compile it at all.
Diffstat (limited to 'build_files/build_environment/cmake/osl.cmake')
-rw-r--r--build_files/build_environment/cmake/osl.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/build_files/build_environment/cmake/osl.cmake b/build_files/build_environment/cmake/osl.cmake
index b3cf7356926..795892f29e2 100644
--- a/build_files/build_environment/cmake/osl.cmake
+++ b/build_files/build_environment/cmake/osl.cmake
@@ -81,11 +81,6 @@ 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