[cmake] support previous RTAUDIO_BUILD_* variables
authorStephen Sinclair <radarsat1@gmail.com>
Tue, 16 Apr 2019 21:52:09 +0000 (23:52 +0200)
committerStephen Sinclair <radarsat1@gmail.com>
Tue, 16 Apr 2019 21:52:09 +0000 (23:52 +0200)
commit1558bb50771c15f1c7d96f82e473559fef58e019
tree16a980c38f2386c4eeea72b5ccc549ebc3fcff88
parent6ca53c0e11c5b34e107e210ed98f3e4237fca728
[cmake] support previous RTAUDIO_BUILD_* variables

Compromise for changes in CMake build introduced by previous commit
that would interfere with use with add_subdirectory.

Re-adds:

- RTAUDIO_BUILD_TESTING
- RTAUDIO_BUILD_SHARED_LIBS
- RTAUDIO_BUILD_STATIC_LIBS

These now override BUILD_TESTING, BUILD_SHARED_LIBS, BUILD_STATIC_LIBS,
but only if they are defined and are not "".
CMakeLists.txt