mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Add CMake configuration for imgui library
This commit is contained in:
parent
772cbfd014
commit
75c4103572
1 changed files with 6 additions and 0 deletions
6
CMakeLists.txt
Normal file
6
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
file(GLOB IMGUI_SRC "*.cpp")
|
||||
|
||||
add_library(imgui STATIC ${IMGUI_SRC})
|
||||
|
||||
target_include_directories(imgui PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
Loading…
Add table
Add a link
Reference in a new issue