Remove references to duckstation folder

This commit is contained in:
Reg Tiangha 2024-07-19 16:22:26 -06:00
parent 2f649d092c
commit 215a25c05a
No known key found for this signature in database
GPG key ID: 00D437798B1C2970

View file

@ -290,36 +290,6 @@ elseif (WIN32)
set_target_properties(citra-qt PROPERTIES LINK_FLAGS_RELEASE "-mwindows")
endif()
elseif(UNIX)
find_package(X11 REQUIRED)
find_package(EGL REQUIRED)
option(ENABLE_WAYLAND "Enable Wayland support" ON)
if (ENABLE_WAYLAND)
find_package(Wayland REQUIRED Client)
target_compile_definitions(citra PRIVATE WAYLAND_ENABLED)
target_sources(citra PRIVATE
externals/duckstation/gl/context_egl_wayland.cpp
)
endif()
target_sources(citra PRIVATE
externals/duckstation/gl/context.cpp
externals/duckstation/gl/context_egl.cpp
externals/duckstation/gl/context_egl_x11.cpp
externals/duckstation/gl/context_glx.cpp
externals/duckstation/gl/x11_window.cpp
../../externals/glad/src/glad_egl.c
../../externals/glad/src/glad_glx.c
)
target_link_libraries(citra PRIVATE "${X11_LIBRARIES}" "${EGL_LIBRARIES}")
target_include_directories(citra PRIVATE "${X11_INCLUDE_DIR}")
add_compile_definitions(QAPPLICATION_CLASS=QApplication)
endif()
if(ENABLE_SDL2)