Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
mediastreamer2
Commits
c75bf76c
Commit
c75bf76c
authored
Feb 23, 2015
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix check for qsa library when building with CMake.
parent
ca8ad4af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
cmake/FindQSA.cmake
cmake/FindQSA.cmake
+6
-1
No files found.
cmake/FindQSA.cmake
View file @
c75bf76c
...
...
@@ -27,6 +27,7 @@
# QSA_LIBRARIES - The libraries needed to use QSA
include
(
CheckSymbolExists
)
include
(
CMakePushCheckState
)
set
(
_QSA_ROOT_PATHS
${
WITH_QSA
}
...
...
@@ -49,7 +50,11 @@ find_library(QSA_LIBRARIES
)
if
(
QSA_LIBRARIES
)
check_symbol_exists
(
snd_pcm_open sys/asound.h HAVE_SND_PCM_OPEN
)
cmake_push_check_state
(
RESET
)
list
(
APPEND CMAKE_REQUIRED_INCLUDES
${
QSA_INCLUDE_DIRS
}
)
list
(
APPEND CMAKE_REQUIRED_LIBRARIES
${
QSA_LIBRARIES
}
)
check_symbol_exists
(
snd_pcm_open
"sys/asound.h"
HAVE_SND_PCM_OPEN
)
cmake_pop_check_state
()
endif
()
include
(
FindPackageHandleStandardArgs
)
...
...
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