Update CMakeLists.txt

This commit is contained in:
Kae 2024-03-09 04:42:26 +11:00
parent e156fa6335
commit 1cf7baa317
2 changed files with 5 additions and 8 deletions

View File

@ -21,13 +21,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y pkg-config ninja-build \ sudo apt-get install -y pkg-config ninja-build \
libxmu-dev libxi-dev libgl-dev libglu1-mesa-dev \ libxmu-dev libxi-dev libgl-dev libglu1-mesa-dev libsdl2-dev
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
libaudio-dev libjack-dev libsndio-dev libusb-1.0-0-dev libx11-dev libxext-dev \
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libwayland-dev \
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev \
libpipewire-0.3-dev libdecor-0-dev
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:

View File

@ -465,7 +465,10 @@ if(STAR_BUILD_GUI)
find_package(GLEW REQUIRED) find_package(GLEW REQUIRED)
include_directories(SYSTEM ${GLEW_INCLUDE_DIR}) include_directories(SYSTEM ${GLEW_INCLUDE_DIR})
set(STAR_EXT_GUI_LIBS ${STAR_EXT_GUI_LIBS} ${OPENGL_LIBRARY} ${GLEW_LIBRARY}) set(STAR_EXT_GUI_LIBS ${STAR_EXT_GUI_LIBS}
${OPENGL_LIBRARY}
GLEW::glew_s
)
if(STAR_SYSTEM_MACOS) if(STAR_SYSTEM_MACOS)
set(STAR_EXT_GUI_LIBS ${STAR_EXT_GUI_LIBS} "-framework CoreAudio") set(STAR_EXT_GUI_LIBS ${STAR_EXT_GUI_LIBS} "-framework CoreAudio")