mirror of https://github.com/axmolengine/axmol.git
Set OPENSSL_ROOT to ensure the correct OpenSSL version is located
This commit is contained in:
parent
0e215e77bb
commit
9cd96ee5c7
|
@ -34,6 +34,7 @@ macro(set_openssl_sub_target sub_target_name sub_lib_name)
|
|||
)
|
||||
endif()
|
||||
if(${sub_lib_name} STREQUAL "ssl")
|
||||
set(OPENSSL_ROOT_DIR "${platform_spec_path}" CACHE STRING "" FORCE)
|
||||
set(OPENSSL_SSL_LIBRARY "${imp_lib_name}" CACHE STRING "" FORCE)
|
||||
else()
|
||||
set(OPENSSL_CRYPTO_LIBRARY "${imp_lib_name}" CACHE STRING "" FORCE)
|
||||
|
|
Loading…
Reference in New Issue