Skip to content

Commit

Permalink
Update imgui.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick authored Oct 11, 2023
1 parent 3aa8a87 commit af83fd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/imgui.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit af83fd2

Please sign in to comment.