Add xcb-keysyms and xcb-record dependencies
This commit is contained in:
parent
f29f5e727f
commit
1c2be0df28
4 changed files with 34 additions and 1 deletions
1
external/qt/CMakeLists.txt
vendored
1
external/qt/CMakeLists.txt
vendored
|
|
@ -380,7 +380,6 @@ else()
|
||||||
xcb-util
|
xcb-util
|
||||||
xcb-render-util
|
xcb-render-util
|
||||||
xcb-keysyms
|
xcb-keysyms
|
||||||
xcb-record
|
|
||||||
ffi
|
ffi
|
||||||
)
|
)
|
||||||
if (DESKTOP_APP_USE_GLIBC_WRAPS)
|
if (DESKTOP_APP_USE_GLIBC_WRAPS)
|
||||||
|
|
|
||||||
2
external/xcb/CMakeLists.txt
vendored
2
external/xcb/CMakeLists.txt
vendored
|
|
@ -7,6 +7,8 @@
|
||||||
add_library(external_xcb INTERFACE IMPORTED GLOBAL)
|
add_library(external_xcb INTERFACE IMPORTED GLOBAL)
|
||||||
add_library(desktop-app::external_xcb ALIAS external_xcb)
|
add_library(desktop-app::external_xcb ALIAS external_xcb)
|
||||||
|
|
||||||
|
add_subdirectory(xcb_keysyms)
|
||||||
|
add_subdirectory(xcb_record)
|
||||||
add_subdirectory(xcb_screensaver)
|
add_subdirectory(xcb_screensaver)
|
||||||
|
|
||||||
if (DESKTOP_APP_USE_PACKAGED)
|
if (DESKTOP_APP_USE_PACKAGED)
|
||||||
|
|
|
||||||
16
external/xcb/xcb_keysyms/CMakeLists.txt
vendored
Normal file
16
external/xcb/xcb_keysyms/CMakeLists.txt
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
# This file is part of Desktop App Toolkit,
|
||||||
|
# a set of libraries for developing nice desktop applications.
|
||||||
|
#
|
||||||
|
# For license and copyright information please follow this link:
|
||||||
|
# https://github.com/desktop-app/legal/blob/master/LEGAL
|
||||||
|
|
||||||
|
add_library(external_xcb_keysyms INTERFACE IMPORTED GLOBAL)
|
||||||
|
add_library(desktop-app::external_xcb_keysyms ALIAS external_xcb_keysyms)
|
||||||
|
|
||||||
|
if (DESKTOP_APP_USE_PACKAGED)
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
pkg_check_modules(XCB_KEYSYMS REQUIRED IMPORTED_TARGET xcb-keysyms)
|
||||||
|
target_link_libraries(external_xcb_keysyms INTERFACE PkgConfig::XCB_KEYSYMS)
|
||||||
|
else()
|
||||||
|
target_link_static_libraries(external_xcb_keysyms INTERFACE xcb-keysyms)
|
||||||
|
endif()
|
||||||
16
external/xcb/xcb_record/CMakeLists.txt
vendored
Normal file
16
external/xcb/xcb_record/CMakeLists.txt
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
# This file is part of Desktop App Toolkit,
|
||||||
|
# a set of libraries for developing nice desktop applications.
|
||||||
|
#
|
||||||
|
# For license and copyright information please follow this link:
|
||||||
|
# https://github.com/desktop-app/legal/blob/master/LEGAL
|
||||||
|
|
||||||
|
add_library(external_xcb_record INTERFACE IMPORTED GLOBAL)
|
||||||
|
add_library(desktop-app::external_xcb_record ALIAS external_xcb_record)
|
||||||
|
|
||||||
|
if (DESKTOP_APP_USE_PACKAGED)
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
pkg_check_modules(XCB_RECORD REQUIRED IMPORTED_TARGET xcb-record)
|
||||||
|
target_link_libraries(external_xcb_record INTERFACE PkgConfig::XCB_RECORD)
|
||||||
|
else()
|
||||||
|
target_link_static_libraries(external_xcb_record INTERFACE xcb-record)
|
||||||
|
endif()
|
||||||
Loading…
Add table
Reference in a new issue