12 lines
628 B
Diff
12 lines
628 B
Diff
--- kwin-5.25.1/src/wayland/tools/CMakeLists.txt 2022-06-26 00:46:39.113938615 +0200
|
|
+++ - 2022-06-26 00:47:07.556852317 +0200
|
|
@@ -12,7 +12,7 @@
|
|
if(CMAKE_CROSSCOMPILING AND QTWAYLANDSCANNER_KDE_EXECUTABLE)
|
|
add_executable(qtwaylandscanner_kde IMPORTED GLOBAL)
|
|
set_target_properties(qtwaylandscanner_kde PROPERTIES IMPORTED_LOCATION ${QTWAYLANDSCANNER_KDE_EXECUTABLE})
|
|
-elseif(CMAKE_CROSSCOMPILING)
|
|
+elseif(CMAKE_CROSSCOMPILING AND NOT FORCE_CROSSCOMPILED_TOOLS)
|
|
if (NOT KF5_HOST_TOOLING)
|
|
message(FATAL_ERROR "Please provide a prefix with a native Qt build and pass -DKF5_HOST_TOOLING=path")
|
|
endif()
|