dolphin/Externals/imgui/CMakeLists.txt
Pokechu22 72c7977c72 Externals: Use Common ASSERT for IM_ASSERT
This does introduce a dependency on common and on fmt from imgui, but gives a better experience.
2022-03-25 10:37:20 -07:00

20 lines
338 B
CMake

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(SRCS
imgui.cpp
imgui_draw.cpp
imgui_tables.cpp
imgui_widgets.cpp
)
add_library(imgui STATIC ${SRCS})
target_include_directories(imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(imgui
PRIVATE
common
fmt::fmt
)