diff options
author | Michal Klocek <michal.klocek@qt.io> | 2025-04-10 12:51:53 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2025-04-10 13:21:57 +0200 |
commit | 8a1275f21e4c4d9bd5378e6179dac22150b2e84c (patch) | |
tree | f9aed5d4c5fb618218d0687468a863a2e3c4b85c | |
parent | bfb109d89c8724873588314eb6d520507d3acf9c (diff) |
Do not run cmake test on WoA cross-compile
On coin for WoA we have hackish setup to reduce integration time where
host tools are deliver by mingw, build is done as cross build
and tests run natively on WoA, meaning tooling can not execute
natively.
Task-number: COIN-1211
Change-Id: I55059b77c30a932504b5f33b8316d81df8848784
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | tests/auto/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt index 250817c..f42361a 100644 --- a/tests/auto/CMakeLists.txt +++ b/tests/auto/CMakeLists.txt @@ -3,7 +3,9 @@ add_subdirectory(benchmarks) -add_subdirectory(cmake) +if(NOT (WIN32 AND CMAKE_CROSSCOMPILING)) + add_subdirectory(cmake) +endif() add_subdirectory(modelreplica) add_subdirectory(modelview) add_subdirectory(pods) |