Skip to content

Commit f832d6c

Browse files
committed
debug
1 parent 790d009 commit f832d6c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

cmake/windows/wingetssl.cmake

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# ---------------------------------------------------------------------------
55

66
if(WIN32 AND (NOT OpenSSL_FOUND))
7-
87
set(_openssl_roots
98
"$ENV{ProgramFiles}/OpenSSL-Win64" "$ENV{ProgramFiles}/OpenSSL"
109
"$ENV{ProgramW6432}/OpenSSL-Win64")
@@ -61,6 +60,19 @@ if(WIN32 AND (NOT OpenSSL_FOUND))
6160
TRUE
6261
CACHE BOOL "Whether OpenSSL was found")
6362
message(STATUS "Found OpenSSL at: ${_root}/${_suffix}")
63+
# Recursively list all files under OPENSSL_ROOT_DIR
64+
file(GLOB_RECURSE OPENSSL_FILES "${OPENSSL_ROOT_DIR}/*")
65+
66+
message(STATUS "Listing contents of OPENSSL_ROOT_DIR:")
67+
foreach(file ${OPENSSL_FILES})
68+
message(STATUS " ${file}")
69+
endforeach()
70+
71+
get_cmake_property(_variableNames VARIABLES)
72+
list(SORT _variableNames)
73+
foreach(_variableName ${_variableNames})
74+
message(STATUS "${_variableName}=${${_variableName}}")
75+
endforeach()
6476
return()
6577
endif()
6678
endforeach()

0 commit comments

Comments
 (0)