Explorar o código

fixed cmake ctest generation

Johannes Ruehle %!s(int64=12) %!d(string=hai) anos
pai
achega
a91dc0fb41
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/CMakeLists.txt

+ 1 - 1
core/CMakeLists.txt

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