summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindG729.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/FindG729.cmake b/cmake/FindG729.cmake
index d11a27e..4a30ba0 100644
--- a/cmake/FindG729.cmake
+++ b/cmake/FindG729.cmake
@@ -1,14 +1,14 @@
FIND_PATH(G729_INCLUDE_DIR bcg729/decoder.h)
-FIND_LIBRARY(G729_LIBRARIES NAMES bcg729)
+FIND_LIBRARY(G729_LIBRARY NAMES bcg729)
-IF(G729_INCLUDE_DIR AND G729_LIBRARIES)
+IF(G729_INCLUDE_DIR AND G729_LIBRARY)
SET(G729_FOUND TRUE)
-ENDIF(G729_INCLUDE_DIR AND G729_LIBRARIES)
+ENDIF(G729_INCLUDE_DIR AND G729_LIBRARY)
IF(G729_FOUND)
IF (NOT G729_FIND_QUIETLY)
MESSAGE(STATUS "Found bcg729 includes: ${G729_INCLUDE_DIR}/bcg729/decoder.h")
- MESSAGE(STATUS "Found bcg729 library: ${G729_LIBRARIES}")
+ MESSAGE(STATUS "Found bcg729 library: ${G729_LIBRARY}")
ENDIF (NOT G729_FIND_QUIETLY)
ELSE(G729_FOUND)
IF (G729_FIND_REQUIRED)