openssl-cmake is an amazing project and we include it in our CMake project to debug the code which will use OpenSSL library.
We need enable ASAN for OpenSSL (via enable-asan --debug -O1 -fno-omit-frame-pointer for ./Configure. But openssl-cmake does not allow us do this in parent CMakeLists.txt.
If we change set(CONFIGURE_OPENSSL_PARAMS --libdir=lib) in BuildOpenSSL.cmake to set(CONFIGURE_OPENSSL_PARAMS "${CONFIGURE_OPENSSL_PARAMS} --libdir=lib"), we can pass addtional options for OpenSSL build.
Thanks a lot.