tests: avoid a warning for ctresalloc

When testing an installed CMake, this executable does not exist.

Also remove the "or build" because we are expecting it to be built if
the target exists (and is a build failure if it fails there).
This commit is contained in:
Ben Boeckel
2020-05-26 12:34:52 -04:00
parent f5e6738051
commit deb5194a32
+1 -1
View File
@@ -416,7 +416,7 @@ endif()
if(TARGET ctresalloc)
add_RunCMake_test(CTestResourceAllocation -DCTRESALLOC_COMMAND=$<TARGET_FILE:ctresalloc>)
else()
message(WARNING "Could not find or build ctresalloc")
message(STATUS "Could not find ctresalloc")
endif()
find_package(Qt4 QUIET)