 diff --git a/CMakeLists.txt b/CMakeLists.txt
 new file mode 100644
-index 0000000..e7f07cb
+index 0000000..d5907c8
 --- /dev/null
 +++ b/CMakeLists.txt
-@@ -0,0 +1,62 @@
+@@ -0,0 +1,56 @@
 +cmake_minimum_required(VERSION 3.12)
 +project(openssl)
 +include(flags OPTIONAL)

+  )
+add_library(ssltestlib STATIC ${ssltestlib_srcs})
+target_link_libraries(ssltestlib PUBLIC testutil ssl)
+list(APPEND test_srcs ${ssltestlib_srcs})
+####################
+# tests that depend on ssltestlib

+  )
+  add_executable(${t} ${t}.c)
+  target_link_libraries(${t} PRIVATE crypto)
+  set_property(TARGET ${t} PROPERTY FOLDER ${folder})
+  list(APPEND test_srcs ${t}.c)
+endforeach()
+########################################
