mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 13:49:46 +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
|
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)
|
if (UNIX AND NOT APPLE)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
find_package(Librt REQUIRED)
|
find_package(Librt REQUIRED)
|
||||||
|
@ -57,11 +64,4 @@ if (UNIX AND NOT APPLE)
|
||||||
${JACK_LIBRARIES}
|
${JACK_LIBRARIES}
|
||||||
${ALSA_LIBRARIES}
|
${ALSA_LIBRARIES}
|
||||||
)
|
)
|
||||||
endif (UNIX AND NOT APPLE)
|
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)
|
|
Loading…
Reference in a new issue