Skip to content

Commit

Permalink
fix retro build
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer committed Oct 19, 2024
1 parent f34dd37 commit 2de65c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tools/cmake/Findlibretrocommon.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# libretro-common
include(FetchContent)
FetchContent_Declare(
libretrocommon
GIT_REPOSITORY https://github.com/libretro/libretro-common.git
GIT_TAG b274f73
GIT_SHALLOW 1
FetchContent_Declare(libretrocommon
URL https://github.com/libretro/libretro-common/archive/refs/heads/master.zip
)
FetchContent_MakeAvailable(libretrocommon)
1 change: 1 addition & 0 deletions tools/cmake/Findnull0.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ if(HOST_TYPE)

if (NULL0_HOST_TYPE_RETRO)
add_definitions(-DPNTR_APP_LIBRETRO -DPNTR_PIXELFORMAT_ARGB)
find_package(libretrocommon)
endif()

set(PHYSFS_ARCHIVE_7Z CACHE INTERNAL FALSE)
Expand Down

0 comments on commit 2de65c6

Please sign in to comment.