diff options
author | Jacques Lucke <jacques@blender.org> | 2020-05-19 18:36:40 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-05-19 18:36:40 +0300 |
commit | cfb7664d5b48d5b5dcb60f47fc6237cdb2be7cb1 (patch) | |
tree | b938352ba8224ddcd6d251dc9fb6578b7c53fa7a /source/blender | |
parent | 7fcf2e7d4af1429b461dec92b6d66ff09e9be9f3 (diff) |
Fix: build error due to missing definitions
Reviewers: sergey, brecht
Differential Revision: https://developer.blender.org/D7787
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/CMakeLists.txt | 2 | ||||
-rw-r--r-- | source/blender/render/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt index 6f932bf8797..0214a8e1887 100644 --- a/source/blender/draw/CMakeLists.txt +++ b/source/blender/draw/CMakeLists.txt @@ -401,4 +401,6 @@ if(WITH_XR_OPENXR) add_definitions(-DWITH_XR_OPENXR) endif() +add_definitions(${GL_DEFINITIONS}) + blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt index a1dd9b3d5b0..f49c68a258d 100644 --- a/source/blender/render/CMakeLists.txt +++ b/source/blender/render/CMakeLists.txt @@ -108,4 +108,6 @@ if(APPLE) endif() endif() +add_definitions(${GL_DEFINITIONS}) + blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") |