From b4e1ffcdbfe8dc98036a16022cbcc422385c1834 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 23 Aug 2022 10:07:10 -0500 Subject: [PATCH] Build: Find Xfont2/fontenc/Pixman using pkg-config ... when TVNC_SYSTEMX11=1. Referring to #339, we can't assume that these libraries will share include/library paths with libX11. This commit reverts e9cb8665dc3822b33dc0ffc5571fce5a759e7cb9. Rebased on 3.0.1 by Maxim Cournoyer diff --git a/unix/Xvnc/CMakeLists.txt b/unix/Xvnc/CMakeLists.txt index 064feda..293f794 100644 --- a/unix/Xvnc/CMakeLists.txt +++ b/unix/Xvnc/CMakeLists.txt @@ -94,11 +94,13 @@ if(NOT TVNC_SYSTEMX11) endif() if(TVNC_SYSTEMX11) + include(FindPkgConfig) + pkg_check_modules(X11_Xfont2 REQUIRED xfont2) + pkg_check_modules(X11_Fontenc REQUIRED fontenc) + pkg_check_modules(X11_Pixman REQUIRED pixman-1) include_directories(${X11_X11_INCLUDE_PATH} ${X11_Xau_INCLUDE_PATH} - ${X11_Xdmcp_INCLUDE_PATH} ${X11_Xkbfile_INCLUD
aboutsummaryrefslogtreecommitdiff
blob: 5c8ca85c135a