summaryrefslogtreecommitdiff
path: root/tests/wbmp
diff options
context:
space:
mode:
authorNathanael Jones <nathanael.jones@gmail.com>2014-10-17 11:28:56 -0400
committerNathanael Jones <nathanael.jones@gmail.com>2015-01-07 01:39:10 -0500
commitb52b9c5579f73b3e6370532a6d7c0199deb0ed7d (patch)
treeaf70f143cf0068a3ee31bfc0b2ab0dc711ec7a82 /tests/wbmp
parente8a1a4699a9ab505012b17e4d7cc9c4cb969b4eb (diff)
downloadlibgd-b52b9c5579f73b3e6370532a6d7c0199deb0ed7d.tar.gz
Upgrade to long-syntax CMAKE add_test command to improve cross-platform compatibility.
Diffstat (limited to 'tests/wbmp')
-rw-r--r--tests/wbmp/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wbmp/CMakeLists.txt b/tests/wbmp/CMakeLists.txt
index aac4f69..531933a 100644
--- a/tests/wbmp/CMakeLists.txt
+++ b/tests/wbmp/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)