Skip to content

Commit

Permalink
fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel-hrvs authored Apr 11, 2024
1 parent 029a6bb commit d2d02d5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/citra_qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ add_executable(citra-qt
util/spinbox.h
util/util.cpp
util/util.h
externals/duckstation/gl/context.cpp
)

file(GLOB COMPAT_LIST
Expand Down Expand Up @@ -297,10 +296,6 @@ elseif(UNIX)
option(ENABLE_WAYLAND "Enable Wayland support" ON)

if (ENABLE_WAYLAND)
# we only need ECM for Wayland
# so we only require it from here
find_package(ECM REQUIRED NO_MODULE)
list(APPEND CMAKE_MODULE_PATH "${ECM_MODULE_PATH}")

find_package(Wayland REQUIRED Client)

Expand All @@ -312,6 +307,7 @@ elseif(UNIX)
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
Expand Down

0 comments on commit d2d02d5

Please sign in to comment.