aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2022-03-20 22:33:51 +0100
committerDavid Faure <faure@kde.org>2022-03-20 22:33:51 +0100
commit4c2453e291a4c2177e01e8d0d5c7961b199c4b71 (patch)
treee7f7176c334e7525035d562070c12385e1b08198
parent4e47b053c9d799898a91b8b31f59140592c2ba4d (diff)
downloadextra-cmake-modules-4c2453e291a4c2177e01e8d0d5c7961b199c4b71.tar.gz
extra-cmake-modules-4c2453e291a4c2177e01e8d0d5c7961b199c4b71.tar.bz2
autotests: tentative Windows fix
-rw-r--r--tests/ECMQmlModuleTest/check.cmake.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/ECMQmlModuleTest/check.cmake.in b/tests/ECMQmlModuleTest/check.cmake.in
index af64a120..a7e39417 100644
--- a/tests/ECMQmlModuleTest/check.cmake.in
+++ b/tests/ECMQmlModuleTest/check.cmake.in
@@ -38,7 +38,11 @@ if (SHARED)
)
if (NOT QML_ONLY AND NOT DEPENDS)
- check_file_exists("${INSTALL_DIR}/Test/libTestModule.so")
+ if (WIN32)
+ check_file_exists("${INSTALL_DIR}/Test/TestModule.dll")
+ else()
+ check_file_exists("${INSTALL_DIR}/Test/libTestModule.so")
+ endif()
check_file_contents(
GENERATED "${INSTALL_DIR}/Test/qmldir"
@@ -60,5 +64,9 @@ if (SHARED)
)
endif()
else()
- check_file_exists("${INSTALL_DIR}/Test/libTestModule.a")
+ if (WIN32)
+ check_file_exists("${INSTALL_DIR}/Test/TestModule.lib")
+ else()
+ check_file_exists("${INSTALL_DIR}/Test/libTestModule.a")
+ endif()
endif()