summaryrefslogtreecommitdiff
path: root/tests/xpm/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xpm/CMakeLists.txt')
-rw-r--r--tests/xpm/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/xpm/CMakeLists.txt b/tests/xpm/CMakeLists.txt
index f90d3c6..e0a789c 100644
--- a/tests/xpm/CMakeLists.txt
+++ b/tests/xpm/CMakeLists.txt
@@ -8,6 +8,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)