QTfrontend/CMakeLists.txt
changeset 2191 20c62f787a4d
parent 2015 d2848d723690
child 2200 8192be6e3aef
--- a/QTfrontend/CMakeLists.txt	Mon Jun 22 13:49:16 2009 +0000
+++ b/QTfrontend/CMakeLists.txt	Wed Jun 24 15:59:32 2009 +0000
@@ -17,10 +17,11 @@
 
 # Configure for SDL
 find_package(SDL REQUIRED)
-find_package(SDL_mixer REQUIRED)
+find_package(OpenAL REQUIRED)
+find_package(OggVorbis REQUIRED)
 
 include_directories(${SDL_INCLUDE_DIR})
-include_directories(${SDLMIXER_INCLUDE_DIR})
+
 if(UNIX)
 	include_directories("/usr/local/include") # HACK: in freebsd cannot find iconv.h included via SDL.h
 endif(UNIX)
@@ -164,13 +165,18 @@
 	${hwfr_moc_srcs}
 	${hwfr_hdrs}
 	${hwfr_rez_src})
-	
+
+find_library(OPENALBRIDGE_LIBRARY libopenalbridge.a PATH ${EXECUTABLE_OUTPUT_PATH} )
+
 set(HW_LINK_LIBS 
 	${QT_LIBRARIES}
-#	${QCA2_LIBRARIES}
 	${SDL_LIBRARY}
-	${SDLMIXER_LIBRARY}
-	)
+	${OPENAL_LIBRARY}
+	${OGG_LIBRARY}
+	${VORBIS_LIBRARY}
+	${VORBISFILE_LIBRARY}
+	${OPENALBRIDGE_LIBRARY}
+)
 
 if(WIN32 AND NOT UNIX)
 	if(NOT SDL_LIBRARY)