fix some compilation issue (#511)

* fix some compilation issue

* Update CMakeLists.txt

* remove lto for apple in debug, because apple
This commit is contained in:
coco875
2025-07-26 15:17:57 +00:00
committed by GitHub
parent a48909b7ea
commit 7c229e3ed0
2 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ jobs:
make
sudo make install
cd ../..
# cmake -H. -Bbuild-switch -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake -DCMAKE_BUILD_TYPE=${{ matrix.config }}
cmake -H. -Bbuild-switch -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake -DCMAKE_BUILD_TYPE=${{ matrix.config }}
cmake --build build-switch --config ${{ matrix.config }} -j3
wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt
mv README.md readme.txt