diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 07:11:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 07:15:18 +0300 |
commit | 813e470eac309a78d1f8cdc4a3abb0314b0ee5f3 (patch) | |
tree | 65bfb0ea60eb6f595b38fedcf33eb0a59f072cb0 /intern/cycles/device/CMakeLists.txt | |
parent | bb6b7dd4adebcdacfeabdaf26daa5e0d49079f67 (diff) |
CMake: cleanup, arg rename, add definitions last
Diffstat (limited to 'intern/cycles/device/CMakeLists.txt')
-rw-r--r-- | intern/cycles/device/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt index d95cd02a85e..f0f0390c29b 100644 --- a/intern/cycles/device/CMakeLists.txt +++ b/intern/cycles/device/CMakeLists.txt @@ -58,6 +58,10 @@ set(SRC_HEADERS device_task.h ) +set(LIB + +) + add_definitions(${GL_DEFINITIONS}) if(WITH_CYCLES_NETWORK) add_definitions(-DWITH_NETWORK) @@ -75,4 +79,4 @@ endif() include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) -cycles_add_library(cycles_device ${SRC} ${SRC_OPENCL} ${SRC_HEADERS}) +cycles_add_library(cycles_device "${LIB}" ${SRC} ${SRC_OPENCL} ${SRC_HEADERS}) |