From 9be1ee83b3903ba1ce282f1f2d9fe27dfd9faab0 Mon Sep 17 00:00:00 2001 From: BearOso Date: Sat, 16 Sep 2023 10:40:29 -0500 Subject: [PATCH] Gtk: Compile std_chrono_throttle.cpp unconditionally. --- gtk/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/CMakeLists.txt b/gtk/CMakeLists.txt index ad1c6f4f..a203aa21 100644 --- a/gtk/CMakeLists.txt +++ b/gtk/CMakeLists.txt @@ -79,7 +79,9 @@ list(APPEND SOURCES src/gtk_display_driver_opengl.cpp ../external/glad/src/glx.c ../external/glad/src/egl.c ../external/glad/src/gl.c - src/gtk_shader_parameters.cpp) + src/gtk_shader_parameters.cpp + ../vulkan/std_chrono_throttle.cpp + ../vulkan/std_chrono_throttle.hpp) list(APPEND INCLUDES ../external/glad/include) if(USE_SLANG) @@ -133,8 +135,6 @@ if(USE_SLANG) ../vulkan/vulkan_shader_chain.hpp ../vulkan/vulkan_simple_output.hpp ../vulkan/vulkan_simple_output.cpp - ../vulkan/std_chrono_throttle.cpp - ../vulkan/std_chrono_throttle.hpp src/gtk_display_driver_vulkan.cpp src/gtk_display_driver_vulkan.h ../external/imgui/imgui_impl_vulkan.cpp)