CMake: support "make programs"

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/programs/ssl/CMakeLists.txt b/programs/ssl/CMakeLists.txt
index ec2c86f..f4fb477 100644
--- a/programs/ssl/CMakeLists.txt
+++ b/programs/ssl/CMakeLists.txt
@@ -16,6 +16,7 @@
     ssl_server
     ssl_server2
 )
+add_dependencies(${programs_target} ${executables})
 
 if(GEN_FILES)
     # Inform CMake that the following file will be generated as part of the build