diff options
Diffstat (limited to 'tests/gdimagepixelate')
-rw-r--r-- | tests/gdimagepixelate/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gdimagepixelate/CMakeLists.txt b/tests/gdimagepixelate/CMakeLists.txt index 205f90c..91030d5 100644 --- a/tests/gdimagepixelate/CMakeLists.txt +++ b/tests/gdimagepixelate/CMakeLists.txt @@ -5,5 +5,6 @@ SET(TESTS_FILES FOREACH(test_name ${TESTS_FILES}) add_executable(${test_name} "${test_name}.c") target_link_libraries (${test_name} ${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) |