parent
3fe2bc622e
commit
b878cd6fb4
|
@ -119,12 +119,10 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# record if Squish was found
|
# record if Squish was found
|
||||||
set(SQUISH_FOUND 1)
|
include(FindPackageHandleStandardArgs)
|
||||||
foreach(var SQUISH_INSTALL_DIR_FOUND SQUISH_CLIENT_EXECUTABLE_FOUND SQUISH_SERVER_EXECUTABLE_FOUND)
|
find_package_handle_standard_args(Squish REQUIRED_VARS SQUISH_INSTALL_DIR SQUISH_CLIENT_EXECUTABLE SQUISH_SERVER_EXECUTABLE
|
||||||
if(NOT ${var})
|
VERSION_VAR SQUISH_VERSION )
|
||||||
set(SQUISH_FOUND 0)
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
macro(SQUISH_ADD_TEST testName testAUT testCase envVars testWraper)
|
macro(SQUISH_ADD_TEST testName testAUT testCase envVars testWraper)
|
||||||
add_test(${testName}
|
add_test(${testName}
|
||||||
|
|
Loading…
Reference in New Issue