浏览代码

fixed cmake ctest generation

Johannes Ruehle 12 年之前
父节点
当前提交
a91dc0fb41
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CMakeLists.txt

+ 1 - 1
core/CMakeLists.txt

@@ -40,7 +40,7 @@ if(BUILD_CORE_TESTS)
                    COMMAND "$<TARGET_FILE:${__testname}>"
                    COMMENT "Unit Tests...")
 	else()
-		ADD_TEST(${__testname} UnitTester ${__testname})
+		ADD_TEST(${__testname} ${__testname})
 	endif()
   endforeach()
 endif()