diff options
Diffstat (limited to 'tests/gdimagecopyrotated')
-rw-r--r-- | tests/gdimagecopyrotated/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gdimagecopyrotated/CMakeLists.txt b/tests/gdimagecopyrotated/CMakeLists.txt index ee7e638..8eb4897 100644 --- a/tests/gdimagecopyrotated/CMakeLists.txt +++ b/tests/gdimagecopyrotated/CMakeLists.txt @@ -6,5 +6,6 @@ SET(TESTS_FILES FOREACH(test_name ${TESTS_FILES}) add_executable(${test_name} "${test_name}.c") target_link_libraries (${test_name} gdTest ${GDTESTS_TARGET_LINK}) - ADD_TEST(${test_name} ${EXECUTABLE_OUTPUT_PATH}/${test_name}) + get_target_property(test_path ${test_name} LOCATION) + ADD_TEST(${test_name} ${test_path}) ENDFOREACH(test_name) |