diff options
author | David Faure <faure@kde.org> | 2022-03-20 22:33:51 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2022-03-20 22:33:51 +0100 |
commit | 4c2453e291a4c2177e01e8d0d5c7961b199c4b71 (patch) | |
tree | e7f7176c334e7525035d562070c12385e1b08198 | |
parent | 4e47b053c9d799898a91b8b31f59140592c2ba4d (diff) | |
download | extra-cmake-modules-4c2453e291a4c2177e01e8d0d5c7961b199c4b71.tar.gz extra-cmake-modules-4c2453e291a4c2177e01e8d0d5c7961b199c4b71.tar.bz2 |
autotests: tentative Windows fix
-rw-r--r-- | tests/ECMQmlModuleTest/check.cmake.in | 12 |
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() |