mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-16 00:54:19 +00:00
Added library alias imgui::imgui and removed 'STATIC' from target.
This commit is contained in:
parent
37f5526bd1
commit
ab3e62bcfe
1 changed files with 3 additions and 1 deletions
|
|
@ -17,13 +17,15 @@ option (IMGUI_IMPL_DX10 "Build the DirectX 10 implementation (only if supported)
|
|||
option (IMGUI_IMPL_DX11 "Build the DirectX 11 implementation (only if supported)" ${WIN32})
|
||||
option (IMGUI_IMPL_DX12 "Build the DirectX 12 implementation (only if supported)" ${WIN32})
|
||||
|
||||
add_library (imgui STATIC
|
||||
add_library (imgui
|
||||
imgui.cpp
|
||||
imgui_draw.cpp
|
||||
imgui_widgets.cpp
|
||||
$<$<BOOL:IMGUI_DEMO>:imgui_demo.cpp>
|
||||
)
|
||||
|
||||
add_library(imgui::imgui ALIAS imgui)
|
||||
|
||||
target_include_directories (imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
set_target_properties(imgui PROPERTIES CXX_STANDARD 11)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue