mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:41:10 +02:00
18 lines
481 B
CMake
18 lines
481 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(TARGET_NAME "avatar-mixer")
|
|
|
|
set(ROOT_DIR ../)
|
|
set(MACRO_DIR ${ROOT_DIR}/cmake/macros)
|
|
|
|
# setup the project
|
|
include(${MACRO_DIR}/SetupHifiProject.cmake)
|
|
setup_hifi_project(${TARGET_NAME})
|
|
|
|
# link the shared hifi library
|
|
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
|
link_hifi_library(shared ${TARGET_NAME} ${ROOT_DIR})
|
|
|
|
# link the threads library
|
|
find_package(Threads REQUIRED)
|
|
target_link_libraries(${TARGET_NAME} ${CMAKE_THREAD_LIBS_INIT})
|