build_environment: openexr disable namespaces on windows.
authorRay Molenkamp <github@lazydodo.com>
Sun, 19 Aug 2018 17:25:27 +0000 (11:25 -0600)
committerRay Molenkamp <github@lazydodo.com>
Sun, 19 Aug 2018 17:44:46 +0000 (11:44 -0600)
Things do not end up in the right namespaces quite yet, and cause linker errors with other projects using the library.

build_files/build_environment/cmake/openexr.cmake

index 3e5ef5d8f0a24cc6a88957747c45ed01d5c679e1..78ad6932c7a9bf6da9c9377adcabe17e483d2a54 100644 (file)
@@ -31,6 +31,7 @@ if(WIN32)
                -DOPENEXR_BUILD_TESTS=Off
                -DOPENEXR_BUILD_VIEWERS=Off
                -DOPENEXR_BUILD_UTILS=Off
+               -DOPENEXR_NAMESPACE_VERSIONING=Off
        )
        ExternalProject_Add(external_openexr
                URL ${OPENEXR_URI}