forked from desktop-app/cmake_helpers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xcb-keysyms and xcb-record dependencies
- Loading branch information
1 parent
f29f5e7
commit 1c2be0d
Showing
4 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -380,7 +380,6 @@ else() | |
xcb-util | ||
xcb-render-util | ||
xcb-keysyms | ||
xcb-record | ||
ffi | ||
) | ||
if (DESKTOP_APP_USE_GLIBC_WRAPS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |