mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
21 lines
706 B
Diff
21 lines
706 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index c988508..d2fa47d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -120,6 +120,8 @@ endif ()
|
|
|
|
option(ENABLE_WXWIDGETS "Build with wxWidgets UI (Currently required)" ON)
|
|
|
|
+find_package(PkgConfig REQUIRED)
|
|
+
|
|
set(THREADS_PREFER_PTHREAD_FLAG true)
|
|
find_package(Threads REQUIRED)
|
|
find_package(SDL2 REQUIRED)
|
|
@@ -135,6 +137,7 @@ find_package(OpenSSL COMPONENTS Crypto SSL REQUIRED)
|
|
find_package(glm REQUIRED)
|
|
find_package(fmt 9 REQUIRED)
|
|
find_package(PNG REQUIRED)
|
|
+pkg_check_modules(EGL REQUIRED egl IMPORTED_TARGET GLOBAL)
|
|
|
|
# glslang versions older than 11.11.0 define targets without a namespace
|
|
if (NOT TARGET glslang::SPIRV AND TARGET SPIRV)
|