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/cycles/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/cycles/CMakeLists.txt') diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt index 00ac8e7e182..0147a4306f4 100644 --- a/intern/cycles/CMakeLists.txt +++ b/intern/cycles/CMakeLists.txt @@ -200,6 +200,9 @@ endif() if(WITH_CYCLES_OSL) add_definitions(-DWITH_OSL) + #osl 1.9.x + add_definitions(-DOSL_STATIC_BUILD) + #pre 1.9 add_definitions(-DOSL_STATIC_LIBRARY) include_directories( SYSTEM -- cgit v1.2.3