mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 01:31:37 +02:00
18 lines
615 B
CMake
18 lines
615 B
CMake
set(TARGET_NAME octree)
|
|
|
|
setup_hifi_library(${TARGET_NAME})
|
|
|
|
include_glm(${TARGET_NAME} "${ROOT_DIR}")
|
|
|
|
link_hifi_libraries(${TARGET_NAME} shared networking)
|
|
|
|
# link ZLIB
|
|
find_package(ZLIB)
|
|
find_package(OpenSSL REQUIRED)
|
|
|
|
include_directories(SYSTEM "${ZLIB_INCLUDE_DIRS}" "${OPENSSL_INCLUDE_DIR}")
|
|
|
|
# set a property indicating the libraries we are dependent on and link them to ourselves
|
|
set(DEPENDENCY_LIBRARIES "${ZLIB_LIBRARIES}" "${OPENSSL_LIBRARIES}")
|
|
set_target_properties(${TARGET_NAME} PROPERTIES DEPENDENCY_LIBRARIES ${DEPENDENCY_LIBRARIES})
|
|
target_link_libraries(${TARGET_NAME} ${DEPENDENCY_LIBRARIES})
|