build_environment: small fix for building ocio on windows.
authorRay Molenkamp <github@lazydodo.com>
Thu, 16 Aug 2018 23:42:06 +0000 (17:42 -0600)
committerRay Molenkamp <github@lazydodo.com>
Thu, 16 Aug 2018 23:42:37 +0000 (17:42 -0600)
build_files/build_environment/cmake/opencolorio.cmake

index a51d189dfd45e8d2cd220b5516d2a1bb69366792..a99b1f118cb2f155ed3f0197ca6945fb7639b128 100644 (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