mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 10:03:37 +02:00
21 lines
642 B
CMake
21 lines
642 B
CMake
set(TARGET_NAME octree)
|
|
|
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
|
setup_hifi_library()
|
|
|
|
add_dependency_external_projects(glm)
|
|
find_package(GLM REQUIRED)
|
|
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
|
|
|
link_hifi_libraries(shared networking)
|
|
|
|
# find ZLIB
|
|
find_package(ZLIB REQUIRED)
|
|
|
|
include_directories(SYSTEM "${ZLIB_INCLUDE_DIRS}")
|
|
|
|
# append ZLIB and OpenSSL to our list of libraries to link
|
|
target_link_libraries(${TARGET_NAME} ${ZLIB_LIBRARIES})
|
|
|
|
# call macro to include our dependency includes and bubble them up via a property on our target
|
|
include_dependency_includes()
|