Squish: fix new squish_v4_add_test() macro
The OUTPUT_NAME target property only returns something if it has been explicitely set. So use LOCATION, and extract the filename from that. Alex
This commit is contained in:
parent
3a0ffa6225
commit
b58fd6569a
|
@ -221,7 +221,7 @@ function(SQUISH_V4_ADD_TEST testName)
|
||||||
|
|
||||||
get_target_property(testAUTLocation ${_SQUISH_AUT} LOCATION)
|
get_target_property(testAUTLocation ${_SQUISH_AUT} LOCATION)
|
||||||
get_filename_component(testAUTDir ${testAUTLocation} PATH)
|
get_filename_component(testAUTDir ${testAUTLocation} PATH)
|
||||||
get_target_property(testAUTName ${_SQUISH_AUT} OUTPUT_NAME)
|
get_filename_component(testAUTName ${testAUTLocation} NAME)
|
||||||
|
|
||||||
get_filename_component(absTestSuite "${_SQUISH_SUITE}" ABSOLUTE)
|
get_filename_component(absTestSuite "${_SQUISH_SUITE}" ABSOLUTE)
|
||||||
if(NOT EXISTS "${absTestSuite}")
|
if(NOT EXISTS "${absTestSuite}")
|
||||||
|
|
Loading…
Reference in New Issue