diff options
-rw-r--r-- | build_files/cmake/macros.cmake | 2 | ||||
-rw-r--r-- | source/blender/gpu/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 762e5499554..3dc6f599c69 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -1232,6 +1232,8 @@ function(data_to_c_simple get_filename_component(_file_to ${CMAKE_CURRENT_BINARY_DIR}/${file_from}.c REALPATH) list(APPEND ${list_to_add} ${_file_to}) + source_group(Generated FILES ${_file_to}) + list(APPEND ${list_to_add} ${file_from}) set(${list_to_add} ${${list_to_add}} PARENT_SCOPE) get_filename_component(_file_to_path ${_file_to} PATH) diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index 85a3b604e33..2eb24f08227 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -87,8 +87,6 @@ set(SRC intern/gpu_vertex_format.c intern/gpu_viewport.c - shaders/gpu_shader_material.glsl - GPU_attr_binding.h GPU_batch.h GPU_batch_presets.h |