Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
4a8fb45f
Commit
4a8fb45f
authored
Feb 05, 2014
by
deuce
Browse files
Don't link against portaudio, we used dlopen() and friends for that.
parent
d87316e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
src/xpdev/CMakeLists.txt
src/xpdev/CMakeLists.txt
+3
-7
No files found.
src/xpdev/CMakeLists.txt
View file @
4a8fb45f
...
...
@@ -137,18 +137,14 @@ if(PORTAUDIO2_FOUND)
set
(
PORTAUDIO_LIBS PORTAUDIO2_LIBS
)
set
(
PORTAUDIO_CFLAGS PORTAUDIO2_CFLAGS
)
else
()
find_library
(
PORTAUDIO_LIBS portaudio
)
if
(
NOT PORTAUDIO_LIBS STREQUAL PORTAUDIO_LIBS-NOTFOUND
)
find_path
(
PORTAUDIO_INCLUDEDIR portaudio.h
)
if
(
NOT PORTAUDIO_INCLUDEDIR STREQUAL PORTAUDIO_INCLUDEIDR-NOTFOUND
)
set
(
PORTAUDIO_FOUND TRUE
)
endif
()
find_path
(
PORTAUDIO_INCLUDEDIR portaudio.h
)
if
(
NOT PORTAUDIO_INCLUDEDIR STREQUAL PORTAUDIO_INCLUDEIDR-NOTFOUND
)
set
(
PORTAUDIO_FOUND TRUE
)
endif
()
endif
()
if
(
PORTAUDIO_FOUND
)
target_include_directories
(
xpdev PRIVATE
${
PORTAUDIO_INCLUDEDIR
}
)
target_link_libraries
(
xpdev
${
PORTAUDIO_LIBS
}
)
endif
()
CHECK_INCLUDE_FILES
(
alsa/asoundlib.h USE_ALSA_SOUND
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment