From 5e8a030a08b73a1fbd94ed11dcc51d26f1c27dad Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Mon, 27 Aug 2018 19:37:55 -0600 Subject: cmake: adjustments required for lib-upgrade on windows. --- intern/opencolorio/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/opencolorio') diff --git a/intern/opencolorio/CMakeLists.txt b/intern/opencolorio/CMakeLists.txt index 75e228933aa..ac2c95d4b63 100644 --- a/intern/opencolorio/CMakeLists.txt +++ b/intern/opencolorio/CMakeLists.txt @@ -63,6 +63,9 @@ if(WITH_OPENCOLORIO) list(APPEND INC_SYS ${BOOST_INCLUDE_DIR} ) + add_definitions( + -DOpenColorIO_STATIC + ) endif() data_to_c_simple(gpu_shader_display_transform.glsl SRC) -- cgit v1.2.3