mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-10 10:34:56 +02:00
link portaudio required libraries after portaudio
This commit is contained in:
parent
0bd62be1c3
commit
04492b28bd
1 changed files with 8 additions and 8 deletions
|
@ -45,6 +45,13 @@ ExternalProject_Add(
|
|||
BUILD_COMMAND make
|
||||
)
|
||||
|
||||
ExternalProject_Get_Property(portaudio binary_dir)
|
||||
ExternalProject_Get_Property(portaudio source_dir)
|
||||
include_directories(${source_dir}/include)
|
||||
add_dependencies(interface portaudio)
|
||||
|
||||
target_link_libraries(interface ${binary_dir}/lib/.libs/libportaudio.a)
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(Librt REQUIRED)
|
||||
|
@ -57,11 +64,4 @@ if (UNIX AND NOT APPLE)
|
|||
${JACK_LIBRARIES}
|
||||
${ALSA_LIBRARIES}
|
||||
)
|
||||
endif (UNIX AND NOT APPLE)
|
||||
|
||||
ExternalProject_Get_Property(portaudio binary_dir)
|
||||
ExternalProject_Get_Property(portaudio source_dir)
|
||||
include_directories(${source_dir}/include)
|
||||
add_dependencies(interface portaudio)
|
||||
|
||||
target_link_libraries(interface ${binary_dir}/lib/.libs/libportaudio.a)
|
||||
endif (UNIX AND NOT APPLE)
|
Loading…
Reference in a new issue