Skip to content

Commit 99aa85c

Browse files
committed
cmake: fix ADD_TEST
1 parent 13b5268 commit 99aa85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ MACRO(ADD_LIB_UNIT_TEST test PKGS)
2626
SET_TARGET_PROPERTIES(${test} PROPERTIES SUFFIX ".so")
2727
ENDIF(APPLE)
2828

29-
ADD_TEST(${test} COMMAND ${PYTHON_EXECUTABLE} -c "import ${test}")
29+
ADD_TEST(NAME ${test} COMMAND ${PYTHON_EXECUTABLE} -c "import ${test}")
3030

3131
ADD_DEPENDENCIES(build_tests ${test})
3232
IF(DISABLE_TESTS)

0 commit comments

Comments
 (0)