mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 09:22:10 +02:00
23 lines
No EOL
609 B
CMake
Executable file
23 lines
No EOL
609 B
CMake
Executable file
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(ROOT_DIR ..)
|
|
set(MACRO_DIR ${ROOT_DIR}/cmake/macros)
|
|
|
|
set(TARGET_NAME data-server)
|
|
|
|
find_package(Qt5Network REQUIRED)
|
|
|
|
include(${MACRO_DIR}/SetupHifiProject.cmake)
|
|
setup_hifi_project(${TARGET_NAME} TRUE)
|
|
|
|
qt5_use_modules(${TARGET_NAME} Network)
|
|
|
|
# link the shared hifi library
|
|
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
|
link_hifi_library(shared ${TARGET_NAME} ${ROOT_DIR})
|
|
|
|
# add hiredis as a library
|
|
FILE(GLOB HIREDIS_SRCS external/hiredis/*.c)
|
|
add_library(hiredis ${HIREDIS_SRCS})
|
|
include_directories(external/hiredis/)
|
|
target_link_libraries(${TARGET_NAME} hiredis) |