diff -Nru a/intern/cycles/bvh/CMakeLists.txt b/intern/cycles/bvh/CMakeLists.txt --- a/intern/cycles/bvh/CMakeLists.txt 2017-02-01 15:31:02.000000000 +0100 +++ b/intern/cycles/bvh/CMakeLists.txt 2017-02-10 13:25:57.935437694 +0100 @@ -36,4 +36,4 @@ include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) -add_library(cycles_bvh ${SRC} ${SRC_HEADERS}) +add_library(cycles_bvh STATIC ${SRC} ${SRC_HEADERS}) diff -Nru a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt --- a/intern/cycles/device/CMakeLists.txt 2017-02-09 10:49:25.000000000 +0100 +++ b/intern/cycles/device/CMakeLists.txt 2017-02-10 13:26:42.082434715 +0100 @@ -76,4 +76,4 @@ include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) -add_library(cycles_device ${SRC} ${SRC_OPENCL} ${SRC_HEADERS}) +add_library(cycles_device STATIC ${SRC} ${SRC_OPENCL} ${SRC_HEADERS}) diff -Nru a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt --- a/intern/cycles/kernel/CMakeLists.txt 2017-02-09 10:49:25.000000000 +0100 +++ b/intern/cycles/kernel/CMakeLists.txt 2017-02-10 13:27:38.080430936 +0100 @@ -336,6 +336,7 @@ endif() add_library(cycles_kernel + STATIC ${SRC} ${SRC_HEADERS} ${SRC_KERNELS_CPU_HEADERS} diff -Nru a/intern/cycles/kernel/osl/CMakeLists.txt b/intern/cycles/kernel/osl/CMakeLists.txt --- a/intern/cycles/kernel/osl/CMakeLists.txt 2017-02-01 15:31:02.000000000 +0100 +++ b/intern/cycles/kernel/osl/CMakeLists.txt 2017-02-10 13:28:10.797428728 +0100 @@ -36,5 +36,5 @@ include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) -add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC}) +add_library(cycles_kernel_osl STATIC ${SRC} ${HEADER_SRC}) diff -Nru a/intern/cycles/render/CMakeLists.txt b/intern/cycles/render/CMakeLists.txt --- a/intern/cycles/render/CMakeLists.txt 2017-02-01 15:31:02.000000000 +0100 +++ b/intern/cycles/render/CMakeLists.txt 2017-02-10 13:28:33.199427216 +0100 @@ -79,4 +79,4 @@ add_definitions(${GL_DEFINITIONS}) -add_library(cycles_render ${SRC} ${SRC_HEADERS}) +add_library(cycles_render STATIC ${SRC} ${SRC_HEADERS}) diff -Nru a/intern/cycles/subd/CMakeLists.txt b/intern/cycles/subd/CMakeLists.txt --- a/intern/cycles/subd/CMakeLists.txt 2017-02-01 15:31:02.000000000 +0100 +++ b/intern/cycles/subd/CMakeLists.txt 2017-02-10 13:29:00.150425397 +0100 @@ -29,4 +29,4 @@ include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) -add_library(cycles_subd ${SRC} ${SRC_HEADERS}) +add_library(cycles_subd STATIC ${SRC} ${SRC_HEADERS}) diff -Nru a/intern/cycles/util/CMakeLists.txt b/intern/cycles/util/CMakeLists.txt --- a/intern/cycles/util/CMakeLists.txt 2017-02-01 15:31:02.000000000 +0100 +++ b/intern/cycles/util/CMakeLists.txt 2017-02-10 13:29:16.717424279 +0100 @@ -91,4 +91,4 @@ add_definitions(${GL_DEFINITIONS}) -add_library(cycles_util ${SRC} ${SRC_HEADERS}) +add_library(cycles_util STATIC ${SRC} ${SRC_HEADERS})