mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
submodules fixes (#87)
* update discord-rpc * ignore gitmodules on reuse * imgui not used atm removed
This commit is contained in:
25
third-party/CMakeLists.txt
vendored
25
third-party/CMakeLists.txt
vendored
@@ -6,11 +6,6 @@ if (MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
|
||||
# Discord-RPC
|
||||
set(BUILD_EXAMPLES OFF CACHE BOOL "")
|
||||
add_subdirectory(discord-rpc EXCLUDE_FROM_ALL)
|
||||
target_include_directories(discord-rpc INTERFACE ./discord-rpc/include)
|
||||
|
||||
# fmtlib
|
||||
add_subdirectory(fmt EXCLUDE_FROM_ALL)
|
||||
|
||||
@@ -49,25 +44,5 @@ option(ZYDIS_BUILD_TOOLS "" OFF)
|
||||
option(ZYDIS_BUILD_EXAMPLES "" OFF)
|
||||
add_subdirectory(zydis EXCLUDE_FROM_ALL)
|
||||
|
||||
# Imgui
|
||||
add_library(imgui STATIC)
|
||||
|
||||
target_sources(imgui PRIVATE
|
||||
imgui/imgui_demo.cpp
|
||||
imgui/imgui_draw.cpp
|
||||
imgui/imgui_tables.cpp
|
||||
imgui/imgui_widgets.cpp
|
||||
imgui/imgui.cpp
|
||||
imgui/backends/imgui_impl_opengl3.cpp
|
||||
imgui/backends/imgui_impl_sdl3.cpp
|
||||
)
|
||||
|
||||
target_include_directories(imgui PUBLIC
|
||||
imgui
|
||||
imgui/backends
|
||||
imgui/include
|
||||
)
|
||||
|
||||
target_link_libraries(imgui PRIVATE SDL3-shared ${CMAKE_DL_LIBS} Zydis discord-rpc)
|
||||
|
||||
|
||||
|
||||
1
third-party/discord-rpc
vendored
1
third-party/discord-rpc
vendored
Submodule third-party/discord-rpc deleted from 963aa9f3e5
1
third-party/imgui
vendored
1
third-party/imgui
vendored
Submodule third-party/imgui deleted from 52125a54a5
Reference in New Issue
Block a user