More PortAudio stuff

I discovered FindPortaudio.cmake and modified it by adding

if (PORTAUDIO_INCLUDE_DIRS AND PORTAUDIO_LIBRARIES)
set (PORTAUDIO_FOUND TRUE)
message (STATUS “Portaudio forced on, lib and inc OK”)
endif (PORTAUDIO_INCLUDE_DIRS AND PORTAUDIO_LIBRARIES)

then at the end:
if (PORTAUDIO_FOUND)
message(STATUS “PORTAUDIO_FOUND still true at end of
FindPortaudio.cmake”)
endif (PORTAUDIO_FOUND)

I set PORTAUDIO_INCLUDE_DIRS and PORTAUDIO_LIBRARIES manually in the
cmake cache file.

I get
– Portaudio forced on, lib and inc OK
– PORTAUDIO_FOUND still true at end of FindPortaudio.cmake

When I run cmake, but it still doesn’t find or use PortAudio.
Something after this seems to be turning it off. I’m not sure where
to look next. Is something not liking my PortAudio version
(svn-1406p1)? Can I override it? This is OpenBSD 5.0 and it will
break several dependencies to change PortAudio versions. This is what
OpenBSD supplies in their ports collection, so it’s probably old but
stable.

Alan


Credit is the root of all evil. - AB1JX