mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 21:16:00 +02:00
17 lines
No EOL
453 B
CMake
17 lines
No EOL
453 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(ROOT_DIR ..)
|
|
set(MACRO_DIR ${ROOT_DIR}/cmake/macros)
|
|
|
|
set(TARGET_NAME injector)
|
|
|
|
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}) |