diff --git a/cmake/imgui.cmake b/cmake/imgui.cmake index 3ae524c6..4afc81b0 100644 --- a/cmake/imgui.cmake +++ b/cmake/imgui.cmake @@ -1,7 +1,9 @@ set(IMGUI_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/3rdparty/imgui) file(GLOB IMGUI_SOURCES ${IMGUI_INCLUDE_DIR}/*.cpp) file(GLOB IMGUI_HEADERS ${IMGUI_INCLUDE_DIR}/*.h) - + +set(CMAKE_CXX_STANDARD 14) + add_library(imgui STATIC ${IMGUI_SOURCES} ${IMGUI_SOURCES}) add_definitions(-DIMGUI_IMPL_OPENGL_LOADER_GLAD)