diff options
-rw-r--r-- | config.tests/wayland_scanner/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.tests/wayland_scanner/CMakeLists.txt b/config.tests/wayland_scanner/CMakeLists.txt index f531b01c..d444aa9c 100644 --- a/config.tests/wayland_scanner/CMakeLists.txt +++ b/config.tests/wayland_scanner/CMakeLists.txt @@ -3,6 +3,13 @@ cmake_minimum_required(VERSION 3.16) project(config_test_wayland_scanner LANGUAGES C CXX) +if(DEFINED QT_CONFIG_COMPILE_TEST_CMAKE_SYSTEM_PREFIX_PATH) + set(CMAKE_SYSTEM_PREFIX_PATH "${QT_CONFIG_COMPILE_TEST_CMAKE_SYSTEM_PREFIX_PATH}") +endif() +if(DEFINED QT_CONFIG_COMPILE_TEST_CMAKE_SYSTEM_FRAMEWORK_PATH) + set(CMAKE_SYSTEM_FRAMEWORK_PATH "${QT_CONFIG_COMPILE_TEST_CMAKE_SYSTEM_FRAMEWORK_PATH}") +endif() + foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) find_package(${p}) endforeach() |