diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-14 19:39:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-14 19:39:38 +0300 |
commit | 4e3562f45ad6109fe3913c5ec7b2d5ff9c6f97bc (patch) | |
tree | d55da6b34072365ac3da95da5cd24cea8c63dcad /build_files/build_environment/cmake | |
parent | 0658d047a94a86060f039790898a80a7adb0dcd9 (diff) |
Dependencies builder: Don't rely on system-wide PugiXML
Diffstat (limited to 'build_files/build_environment/cmake')
-rw-r--r-- | build_files/build_environment/cmake/osl.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/osl.cmake b/build_files/build_environment/cmake/osl.cmake index 795892f29e2..b3cf7356926 100644 --- a/build_files/build_environment/cmake/osl.cmake +++ b/build_files/build_environment/cmake/osl.cmake @@ -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 |