Commit 26b6539e authored by mercury233's avatar mercury233

test

parent 6b64d8b0
...@@ -279,7 +279,8 @@ jobs: ...@@ -279,7 +279,8 @@ jobs:
- name: Use premake to generate make files - name: Use premake to generate make files
run: | run: |
./premake5 gmake \ ./premake5 gmake \
--freetype-include-dir="/usr/include/freetype2" --freetype-include-dir="/usr/include/freetype2" \
--opus-include-dir="/usr/include/opus" \
- name: Make - name: Make
run: | run: |
...@@ -372,6 +373,8 @@ jobs: ...@@ -372,6 +373,8 @@ jobs:
- name: Use premake to generate make files (Intel) - name: Use premake to generate make files (Intel)
if: runner.arch == 'X64' if: runner.arch == 'X64'
run: | run: |
ls /usr/local/include
ls /usr/local/include/opus
./premake5 gmake \ ./premake5 gmake \
--cc=clang \ --cc=clang \
--freetype-include-dir="/usr/local/include/freetype2" \ --freetype-include-dir="/usr/local/include/freetype2" \
...@@ -382,6 +385,8 @@ jobs: ...@@ -382,6 +385,8 @@ jobs:
- name: Use premake to generate make files (ARM64) - name: Use premake to generate make files (ARM64)
if: runner.arch == 'ARM64' if: runner.arch == 'ARM64'
run: | run: |
ls /opt/homebrew/include
ls /opt/homebrew/include/opus
./premake5 gmake \ ./premake5 gmake \
--cc=clang \ --cc=clang \
--event-include-dir="/opt/homebrew/include" \ --event-include-dir="/opt/homebrew/include" \
......
...@@ -43,6 +43,10 @@ project "YGOPro" ...@@ -43,6 +43,10 @@ project "YGOPro"
includedirs { "../miniaudio" } includedirs { "../miniaudio" }
links { "miniaudio" } links { "miniaudio" }
if MINIAUDIO_SUPPORT_OPUS_VORBIS and not BUILD_OPUS_VORBIS then if MINIAUDIO_SUPPORT_OPUS_VORBIS and not BUILD_OPUS_VORBIS then
print("OPUS_INCLUDE_DIR:")
print(OPUS_INCLUDE_DIR)
print("VORBIS_INCLUDE_DIR:")
print(VORBIS_INCLUDE_DIR)
includedirs { OPUS_INCLUDE_DIR, VORBIS_INCLUDE_DIR } includedirs { OPUS_INCLUDE_DIR, VORBIS_INCLUDE_DIR }
libdirs { OPUS_LIB_DIR, VORBIS_LIB_DIR } libdirs { OPUS_LIB_DIR, VORBIS_LIB_DIR }
links { "opusfile", "vorbis" } links { "opusfile", "vorbis" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment