summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2014-10-13 13:44:16 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2014-10-13 13:44:16 -0700
commite6fe7162e8fd41eef2140529f0e1b8bcfbde0ae9 (patch)
tree7d94201bf549a44cd9431acb51e037c69208e24c /cmake/Modules
parent037ddca197674da611f2a8ffceab45e9134eb9bc (diff)
parentc80fcdb0b3955923625c9561302ac81612958bfc (diff)
Merge branch 'maint'
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindOSS.cmake5
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"