fix imgui now requiring atleast c++11

This commit is contained in:
Green Sky 2022-08-03 16:09:22 +02:00
parent e65878509e
commit e1bf5fefc0

View File

@ -39,6 +39,8 @@ set(HPP_FILES
add_library(imgui ${CPP_FILES} ${HPP_FILES}) add_library(imgui ${CPP_FILES} ${HPP_FILES})
target_compile_features(imgui PUBLIC cxx_std_11)
if(MM_OPENGL_3_GLES) if(MM_OPENGL_3_GLES)
target_compile_definitions(imgui PUBLIC IMGUI_IMPL_OPENGL_ES3) target_compile_definitions(imgui PUBLIC IMGUI_IMPL_OPENGL_ES3)
target_compile_definitions(imgui PUBLIC IMGUI_IMPL_OPENGL_LOADER_CUSTOM) # bug? target_compile_definitions(imgui PUBLIC IMGUI_IMPL_OPENGL_LOADER_CUSTOM) # bug?