remove OpenSSL requirement from octree library

This commit is contained in:
Stephen Birarda 2014-08-08 13:18:32 -07:00
parent 2fda95ae8f
commit 9d8818eee5

View file

@ -7,15 +7,13 @@ include_glm()
link_hifi_libraries(shared networking)
# find ZLIB and OpenSSL
# find ZLIB
find_package(ZLIB REQUIRED)
find_package(OpenSSL REQUIRED)
include_directories(SYSTEM "${ZLIB_INCLUDE_DIRS}" "${OPENSSL_INCLUDE_DIR}")
include_directories(SYSTEM "${ZLIB_INCLUDE_DIRS}")
# append ZLIB and OpenSSL to our list of libraries to link
list(APPEND ${TARGET_NAME}_LIBRARIES_TO_LINK "${ZLIB_LIBRARIES}")
list(APPEND ${TARGET_NAME}_LIBRARIES_TO_LINK "${OPENSSL_LIBRARIES}")
# call macro to link our dependencies and bubble them up via a property on our target
link_shared_dependencies()