aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-22 13:29:32 -0700
committerChris Robinson <[email protected]>2011-05-22 13:29:32 -0700
commitd83af679bd648d1a24b9643a384f98bcf34583c5 (patch)
tree17a5d45ad4771808965d3e96fd77ac532d66c4b0 /CMakeLists.txt
parentaf005668daa679665b6eb0957a87ed3a0cbed3f0 (diff)
Fix handling of GUID definitions
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b3e93f3..25e9ce24 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,6 +191,10 @@ CHECK_C_SOURCE_COMPILES("int foo(const char *str, ...) __attribute__((format(pri
CHECK_INCLUDE_FILE(fenv.h HAVE_FENV_H)
CHECK_INCLUDE_FILE(float.h HAVE_FLOAT_H)
+CHECK_INCLUDE_FILE(guiddef.h HAVE_GUIDDEF_H)
+IF(NOT HAVE_GUIDDEF_H)
+ CHECK_INCLUDE_FILE(initguid.h HAVE_INITGUID_H)
+ENDIF()
CHECK_LIBRARY_EXISTS(m powf "" HAVE_POWF)
CHECK_LIBRARY_EXISTS(m sqrtf "" HAVE_SQRTF)
@@ -338,12 +342,6 @@ IF(HAVE_LIBWINMM)
ENDIF()
-CHECK_LIBRARY_EXISTS(uuid CLSID_MMDeviceEnumerator "" HAVE_LIBUUID)
-IF(HAVE_LIBUUID)
- SET(EXTRA_LIBS uuid ${EXTRA_LIBS})
-ENDIF()
-
-
SET(OPENAL_OBJS OpenAL32/alAuxEffectSlot.c
OpenAL32/alBuffer.c
OpenAL32/alDatabuffer.c