mirror of https://github.com/wb2osz/direwolf.git
cmake: fix portaudio discovery
This commit is contained in:
parent
1cf5a22333
commit
4de597a89e
|
@ -213,7 +213,7 @@ if(LINUX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
elseif (NOT WIN32 AND NOT CYGWIN)
|
elseif (NOT WIN32 AND NOT CYGWIN)
|
||||||
find_package(portaudio REQUIRED)
|
find_package(Portaudio REQUIRED)
|
||||||
if(PORTAUDIO_FOUND)
|
if(PORTAUDIO_FOUND)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_PORTAUDIO")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_PORTAUDIO")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue