Skip to content

Commit

Permalink
ci: linux: Add xcb feature as qtbase dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
calc84maniac committed Aug 9, 2024
1 parent 39b17b1 commit 654259d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions gui/qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,7 @@ else()
message(STATUS "IPO/LTO not supported: <${error}>")
endif()

target_compile_definitions(CEmu PRIVATE $<$<CONFIG:Release>:QT_NO_DEBUG_OUTPUT>)
if(CMAKE_BUILD_TYPE STREQUAL Release OR CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo)
target_compile_definitions(CEmu PRIVATE QT_NO_DEBUG_OUTPUT)
endif()
target_compile_definitions(CEmu PRIVATE $<$<CONFIG:Release,RelWithDebInfo>:QT_NO_DEBUG_OUTPUT>)

if(UNIX OR APPLE)
target_sources(CEmu PUBLIC ../../core/os/os-linux.c)
Expand Down
6 changes: 6 additions & 0 deletions gui/qt/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"name": "qtbase",
"default-features": false,
"features": [ "dbus", "gui", "network", "widgets", "png" ]
},
{
"name": "qtbase",
"default-features": false,
"features": [ "xcb" ],
"platform": "linux"
}
]
}
Expand Down

0 comments on commit 654259d

Please sign in to comment.