Skip to content

Commit

Permalink
deps: add kubridge fork as submodule for vita
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Sep 25, 2023
1 parent e977315 commit ed99ce3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@
[submodule "core/deps/Spout"]
path = core/deps/Spout
url = https://github.com/vkedwardli/Spout2.git
[submodule "core/deps/kubridge"]
path = core/deps/kubridge
url = https://github.com/bythos14/kubridge.git
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -680,11 +680,14 @@ if(NOT LIBZIP_FOUND OR NINTENDO_SWITCH OR VITA)
endif()

if(VITA)
add_subdirectory(core/deps/kubridge)
add_dependencies(${PROJECT_NAME} kubridge_all)
target_include_directories(${PROJECT_NAME} PRIVATE core/deps/kubridge) # to override system kubridge.h if present
target_link_libraries(${PROJECT_NAME} PRIVATE
-Wl,--whole-archive pthread -Wl,--no-whole-archive
stdc++
SDL2
kubridge_stub
${CMAKE_CURRENT_BINARY_DIR}/core/deps/kubridge/stubs/libkubridge_stub.a
ScePgf_stub
SceHid_stub
SceAppMgr_stub
Expand Down
1 change: 1 addition & 0 deletions core/deps/kubridge
Submodule kubridge added at e689b9

0 comments on commit ed99ce3

Please sign in to comment.