[ripple/rippled] Improve ssl and NIH in cmake: (#2655)

miguelportilla commented on this pull request.

>
-if ((NOT DEFINED OPENSSL_ROOT) AND (DEFINED ENV{OPENSSL_ROOT}))
— set (OPENSSL_ROOT $ENV{OPENSSL_ROOT})
-endif ()
-file (TO_CMAKE_PATH «${OPENSSL_ROOT}» OPENSSL_ROOT)
+ if (APPLE AND NOT DEFINED OPENSSL_ROOT_DIR)

How about… «` if (DEFINED OPENSSL_ROOT)

elseif (DEFINED ENV{OPENSSL_ROOT})

elseif(APPLE)

endif ()
«`

Добавить комментарий