mirror of
https://github.com/overte-org/overte.git
synced 2025-08-24 13:07:06 +02:00
18 lines
No EOL
588 B
CMake
18 lines
No EOL
588 B
CMake
set(TARGET_NAME voxels)
|
|
|
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
|
setup_hifi_library(${TARGET_NAME} Widgets Script)
|
|
|
|
include_glm(${TARGET_NAME} "${ROOT_DIR}")
|
|
|
|
link_hifi_libraries(${TARGET_NAME} shared octree networking)
|
|
|
|
# find ZLIB
|
|
find_package(ZLIB)
|
|
include_directories(SYSTEM "${ZLIB_INCLUDE_DIRS}")
|
|
|
|
# add it to our list of libraries to link
|
|
list(APPEND ${TARGET}_LIBRARIES_TO_LINK "${ZLIB_LIBRARIES}")
|
|
|
|
# call macro to link our dependencies and bubble them up via a property on our target
|
|
link_shared_dependencies_to_target(${TARGET_NAME}) |