From 4c2453e291a4c2177e01e8d0d5c7961b199c4b71 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 20 Mar 2022 22:33:51 +0100 Subject: autotests: tentative Windows fix --- tests/ECMQmlModuleTest/check.cmake.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tests/ECMQmlModuleTest') 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() -- cgit v1.2.1