correct test construction macro target reference for integration tests

meow-7.2.2
Oz Linden 2014-10-21 17:56:13 -04:00
parent 223f438e49
commit a959ede776
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ FUNCTION(LL_ADD_INTEGRATION_TEST
# Create the test running command
SET(test_command ${ARGN})
SET(TEST_EXE <TARGET_FILE:INTEGRATION_TEST_${testname}>)
SET(TEST_EXE $<TARGET_FILE:INTEGRATION_TEST_${testname}>)
LIST(FIND test_command "{}" test_exe_pos)
IF(test_exe_pos LESS 0)
# The {} marker means "the full pathname of the test executable."