of CMAKE_BINARY_DIR is longer than the tested _basename. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>