From c587b8d026031f2fd48dad8c9922f35b57eb2ea4 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Wed, 13 May 2020 11:50:10 +0200 Subject: FindSquish: Fix target app name on windows Windows has .exe in the target name, but Squish only uses the name without extension which makes things a lot easier when running tests on several platforms. Discovered when coming back to Windows and doing a fresh build and suddenly the binary to be tested was no longer found due to the name mismatch. --- Modules/FindSquish.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindSquish.cmake b/Modules/FindSquish.cmake index eec8876..f4d4f29 100644 --- a/Modules/FindSquish.cmake +++ b/Modules/FindSquish.cmake @@ -277,7 +277,7 @@ function(SQUISH_V4_ADD_TEST testName) add_test(NAME ${testName} COMMAND ${CMAKE_COMMAND} -V -VV "-Dsquish_version:STRING=4" - "-Dsquish_aut:STRING=$" + "-Dsquish_aut:STRING=$" "-Dsquish_aut_dir:STRING=$" "-Dsquish_server_executable:STRING=${SQUISH_SERVER_EXECUTABLE}" "-Dsquish_client_executable:STRING=${SQUISH_CLIENT_EXECUTABLE}" -- cgit v0.12