Added OPENSSL_ROOT_DIR for OS X.
This commit is contained in:
parent
e6e52f0c46
commit
e78b321914
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ message("Boost include dir: ${Boost_INCLUDE_DIR}")
|
||||||
message("Boost libraries: ${Boost_LIBRARIES}")
|
message("Boost libraries: ${Boost_LIBRARIES}")
|
||||||
include_directories(${Boost_INCLUDE_DIR})
|
include_directories(${Boost_INCLUDE_DIR})
|
||||||
|
|
||||||
|
if(APPLE)
|
||||||
|
set(OPENSSL_ROOT_DIR "/usr/local/opt/openssl")
|
||||||
|
endif()
|
||||||
|
|
||||||
#TODO: add requirement for version 1.0.1g (can it be done in one line?)
|
#TODO: add requirement for version 1.0.1g (can it be done in one line?)
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
message("OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
message("OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue