aboutsummaryrefslogtreecommitdiff
path: root/find-modules/rules_engine.py
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-10-05 11:24:38 +0100
committerAhmad Samir <a.samirh78@gmail.com>2021-10-21 20:40:08 +0000
commit0516940f89f0b30d40e86c92b2876398de14cdb0 (patch)
treeb6d7981240f6bcc56e52ac6824c29f10751947f2 /find-modules/rules_engine.py
parente62246c5ee18649e4e89eb69a4cf51b2586ced83 (diff)
downloadextra-cmake-modules-0516940f89f0b30d40e86c92b2876398de14cdb0.tar.gz
extra-cmake-modules-0516940f89f0b30d40e86c92b2876398de14cdb0.tar.bz2
Fix Wayland_DATADIR when cross-compiling
PKG_CONFIG_SYSROOT_DIR only applies to -I and -L flags, so pkg-config does not prepend CMAKE_SYSROOT when cross-compiling unless you pass --define-prefix explicitly. Therefore we have to manually do prepend it here when cross-compiling. See https://gitlab.kitware.com/cmake/cmake/-/issues/16647#note_844761. With this change I no longer get errors related to wayland.xml when cross-compiling KWaylandServer.
Diffstat (limited to 'find-modules/rules_engine.py')
0 files changed, 0 insertions, 0 deletions