mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 16:14:23 +02:00
21 lines
No EOL
717 B
CMake
21 lines
No EOL
717 B
CMake
set(TARGET_NAME audio-client)
|
|
|
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
|
setup_hifi_library(Network)
|
|
|
|
link_hifi_libraries(audio)
|
|
|
|
set(GVERB_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/external/gverb")
|
|
|
|
# As Gverb is currently the only reverb library, it's required.
|
|
find_package(Gverb REQUIRED)
|
|
|
|
file(GLOB GVERB_SRCS ${GVERB_SRC_DIRS}/*.c)
|
|
add_library(gverb STATIC ${GVERB_SRCS})
|
|
target_link_libraries(${TARGET_NAME} gverb)
|
|
|
|
# append gverb includes to our list of includes to bubble
|
|
list(APPEND ${TARGET_NAME}_DEPENDENCY_INCLUDES "${GVERB_INCLUDE_DIRS}")
|
|
|
|
# call macro to include our dependency includes and bubble them up via a property on our target
|
|
include_dependency_includes() |