diff --git a/CMakeLists.txt b/CMakeLists.txt index ae2be04..3ea7ee4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,7 @@ add_library(imgui-glfw-gl3 STATIC ${igo_dir}/imgui_impl_glfw.h ${igo_dir}/imgui_impl_opengl3.h ${igo_dir}/imgui_impl_glfw.cpp ${igo_dir}/imgui_impl_opengl3.cpp ) -target_compile_definitions(imgui-glfw-gl3 PUBLIC -DIMGUI_IMPL_OPENGL_LOADER_GLAD -DGL_SAMPLER_BINDING=0) +target_compile_definitions(imgui-glfw-gl3 PUBLIC -DIMGUI_IMPL_OPENGL_LOADER_GLAD) target_include_directories(imgui-glfw-gl3 PUBLIC ${igo_dir}) target_link_libraries(imgui-glfw-gl3 PUBLIC ${GLFW_LIBRARIES} ${OPENGL_LIBRARIES} glad imgui