Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Set LIBS globally
Browse files Browse the repository at this point in the history
  • Loading branch information
syb0rg committed Aug 7, 2016
1 parent 884054b commit 89a2b8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libsphinxad/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif ()
find_package(PulseAudio)
if (PULSEAUDIO_FOUND)
set(SOURCES ${SOURCES} ad_pulse.c)
set(LIBS ${LIBS} ${PULSEAUDIO_LIBRARIES} CACHE INTERNAL "libs")
set(LIBS ${PULSEAUDIO_LIBRARIES} CACHE INTERNAL "libs")
endif()

find_package(OSS)
Expand All @@ -18,14 +18,14 @@ endif()
find_package(OpenAL)
if (OPENAL_FOUND)
set(SOURCES ${SOURCES} ad_openal.c)
set(LIBS ${LIBS} ${OPENAL_LIBRARY} CACHE INTERNAL "libs")
set(LIBS ${OPENAL_LIBRARY} CACHE INTERNAL "libs")
include_directories(${OPENAL_INCLUDE_DIR})
endif()

find_package(ALSA)
if (ALSA_FOUND)
set(SOURCES ${SOURCES} ad_alsa.c)
set(LIBS ${LIBS} ${ALSA_LIBRARIES} CACHE INTERNAL "libs")
set(LIBS ${ALSA_LIBRARIES} CACHE INTERNAL "libs")
endif()

add_library(libsphinxad OBJECT ${SOURCES})

0 comments on commit 89a2b8f

Please sign in to comment.