build_environment: small fix for building ocio on windows.

This commit is contained in:
Ray molenkamp 2018-08-16 17:42:06 -06:00
parent 1aed77caca
commit 4b0b91aee0
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,8 @@ if(WIN32)
-DUSE_EXTERNAL_LCMS=ON
-DINC_1=${LIBDIR}/tinyxml/include
-DINC_2=${LIBDIR}/yamlcpp/include
#lie because ocio cmake is demanding boost even though it is not needed
-DYAML_CPP_VERSION=0.5.0
)
else()
set(OCIO_PATCH opencolorio.diff)
@ -87,6 +89,7 @@ if(WIN32)
external_opencolorio
external_tinyxml
external_yamlcpp
)
if(BUILD_MODE STREQUAL Release)
ExternalProject_Add_Step(external_opencolorio after_install