diff options
author | Chris Robinson <[email protected]> | 2008-02-08 20:56:45 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-02-08 20:56:45 -0800 |
commit | e8acfb069c6075aed6765aaa4d0a1f0e7171f3f5 (patch) | |
tree | bb1c3b3a752339813d8d9f0ff92df9042fec5cc5 /CMakeLists.txt | |
parent | 4c38ed272d2b9626cf65abb3dcfb6ad393dc0ea0 (diff) |
Remove explicit dependancy on ole32 and unused dxguid
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 46c34e3d..5927a935 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -247,14 +247,6 @@ ENDIF() # Check DSound/MMSystem backend IF(HAVE_WINDOWS_H) - SET(CMAKE_REQUIRED_LIBRARIES ole32) - CHECK_C_SOURCE_COMPILES("int main() {return 0;}" HAVE_LIBOLE32) - SET(CMAKE_REQUIRED_LIBRARIES "") -# CHECK_LIBRARY_EXISTS(ole32 CoInitialize "" HAVE_LIBOLE32) - IF(HAVE_LIBOLE32) - SET(EXTRA_LIBS ole32 ${EXTRA_LIBS}) - ENDIF() - IF(DSOUND) CHECK_INCLUDE_FILE(dsound.h HAVE_DSOUND_H) IF(HAVE_DSOUND_H) @@ -262,11 +254,6 @@ IF(HAVE_WINDOWS_H) SET(ALC_OBJS ${ALC_OBJS} Alc/dsound.c) SET(BACKENDS "${BACKENDS} DirectSound,") - CHECK_LIBRARY_EXISTS(dxguid IID_IDirectSound "" HAVE_LIBDXGUID) - IF(HAVE_LIBDXGUID) - SET(EXTRA_LIBS dxguid ${EXTRA_LIBS}) - ENDIF() - SET(CMAKE_REQUIRED_LIBRARIES dsound) CHECK_C_SOURCE_COMPILES("int main() {return 0;}" HAVE_LIBDSOUND) SET(CMAKE_REQUIRED_LIBRARIES "") |