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