cmake: fix EGL and add USE_SYSTEM_CURL

This commit is contained in:
oltolm 2024-08-15 20:23:16 +02:00 committed by Elad
parent 042a5481ca
commit 7f30e52fda
4 changed files with 6 additions and 2 deletions

View file

@ -30,7 +30,6 @@ if(UNIX AND NOT APPLE)
find_package(Wayland)
if(WAYLAND_FOUND)
add_definitions(-DHAVE_WAYLAND)
set(ADDITIONAL_LIBS ${ADDITIONAL_LIBS} "EGL")
endif()
endif()

View file

@ -626,3 +626,7 @@ endif()
if(USE_PRECOMPILED_HEADERS)
target_precompile_headers(rpcs3_emu PRIVATE "${PROJECT_SOURCE_DIR}/rpcs3/stdafx.h")
endif()
if(WAYLAND_FOUND)
target_link_libraries(rpcs3_emu PRIVATE OpenGL::EGL)
endif()