Fix WITH_LEGACY_OPENGL=ON
This wasn't working outside of gpu module.
This commit is contained in:
@@ -23,6 +23,10 @@
|
|||||||
#
|
#
|
||||||
# ***** END GPL LICENSE BLOCK *****
|
# ***** END GPL LICENSE BLOCK *****
|
||||||
|
|
||||||
|
if(WITH_LEGACY_OPENGL)
|
||||||
|
add_definitions(-DWITH_LEGACY_OPENGL)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(blender)
|
add_subdirectory(blender)
|
||||||
|
|
||||||
if(WITH_GAMEENGINE)
|
if(WITH_GAMEENGINE)
|
||||||
|
@@ -236,9 +236,5 @@ if(WITH_OPENSUBDIV)
|
|||||||
add_definitions(-DWITH_OPENSUBDIV)
|
add_definitions(-DWITH_OPENSUBDIV)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_LEGACY_OPENGL)
|
|
||||||
add_definitions(-DWITH_LEGACY_OPENGL)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}")
|
blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user