dolphin/Externals/imgui/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
394 B
CMake
Raw Normal View History

if (NOT MSVC)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()
2018-11-26 10:40:34 +00:00
set(SRCS
imgui.cpp
imgui_draw.cpp
2021-10-26 21:34:39 +00:00
imgui_tables.cpp
2018-11-26 10:40:34 +00:00
imgui_widgets.cpp
)
add_library(imgui STATIC ${SRCS})
dolphin_disable_warnings_msvc(imgui)
2018-11-26 10:40:34 +00:00
target_include_directories(imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(imgui
PRIVATE
fmt::fmt
)