mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 22:39:28 +02:00
28 lines
745 B
CMake
28 lines
745 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(TARGET_NAME voxel-server)
|
|
|
|
set(ROOT_DIR ..)
|
|
set(MACRO_DIR ${ROOT_DIR}/cmake/macros)
|
|
|
|
# setup for find modules
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/modules/")
|
|
|
|
# set up the external glm library
|
|
include(${MACRO_DIR}/IncludeGLM.cmake)
|
|
include_glm(${TARGET_NAME} ${ROOT_DIR})
|
|
|
|
include(${MACRO_DIR}/SetupHifiProject.cmake)
|
|
|
|
setup_hifi_project(${TARGET_NAME})
|
|
|
|
# link in the shared library
|
|
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
|
link_hifi_library(shared ${TARGET_NAME} ${ROOT_DIR})
|
|
|
|
# link in the hifi voxels library
|
|
link_hifi_library(voxels ${TARGET_NAME} ${ROOT_DIR})
|
|
|
|
# link in the hifi avatars library
|
|
link_hifi_library(avatars ${TARGET_NAME} ${ROOT_DIR})
|
|
|