diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2014-09-24 13:42:02 -0400 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2014-10-13 13:36:51 -0700 |
commit | 7426fa4722c539c688a90638e9370a7d5e378fef (patch) | |
tree | e8e80e2f86775527b56b453e1fd7e494b8fed0fd /cmake/Modules | |
parent | 51d442826a706cc6192efabf92e054c8e0873379 (diff) |
cmake: OSS is not for APPLE or WINDOWS.
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/FindOSS.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/Modules/FindOSS.cmake b/cmake/Modules/FindOSS.cmake index 4c886de5f0..7470e7d622 100644 --- a/cmake/Modules/FindOSS.cmake +++ b/cmake/Modules/FindOSS.cmake @@ -4,6 +4,11 @@ # OSS_INCLUDE_DIR - where to find soundcard.h, etc. # OSS_FOUND - True if Oss found. +# OSS is not for APPLE or WINDOWS + +IF(APPLE OR WIN32) + RETURN() +ENDIF() FIND_PATH(LINUX_OSS_INCLUDE_DIR "linux/soundcard.h" "/usr/include" "/usr/local/include" |