Skip to content

Commit acacd97

Browse files
authored
Merge pull request #469 from cscd98/build-fxies
libretro: build fixes for iOS/tvOS and windows
2 parents 39f28b1 + 3fa2bda commit acacd97

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ libretro-build-windows-x64:
6060
- .core-defs
6161
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-mxe-win-cross-cores:gcc14
6262
variables:
63-
EXTRA_PATH: ../../Binary/x64
63+
EXTRA_PATH: Binaries
6464
before_script:
6565
- export NUMPROC=$(($(nproc)/5))
6666
- if builtin type -P ccache &> /dev/null; then ccache -V &> /dev/null; fi

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0.0" CACHE STRING "")
1111

1212
# When we don't set a sysroot, AppleClang will put /usr/local/include at a higher
1313
# priority than -isystem paths, which can cause weird include issues in Externals
14-
set(CMAKE_OSX_SYSROOT macosx CACHE STRING "")
15-
14+
if(NOT IOS AND NOT TVOS)
15+
set(CMAKE_OSX_SYSROOT macosx CACHE STRING "")
16+
endif( )
1617
set(CMAKE_USER_MAKE_RULES_OVERRIDE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/FlagsOverride.cmake")
1718

1819
# CMake 3.28 and later scan c++ source files for module imports by default. Since we don't use

0 commit comments

Comments
 (0)