Smaxx' fix for windows build
authorunc0rr
Fri, 04 Sep 2009 16:34:32 +0000
changeset 2350 1eef75bdcdba
parent 2349 ba7a0813c532
child 2351 a4a17b8df591
Smaxx' fix for windows build
openalbridge/CMakeLists.txt
--- a/openalbridge/CMakeLists.txt	Fri Sep 04 12:48:44 2009 +0000
+++ b/openalbridge/CMakeLists.txt	Fri Sep 04 16:34:32 2009 +0000
@@ -21,10 +21,10 @@
 		openalbridge.h loaders.h endianness.h wrappers.h globals.h oggvorbis.h ${openal_src}
 	)
 #deps for the shared library
-	link_libraries(${OPENAL_LIBRARY})
+	link_libraries(${VORBISFILE_LIBRARY})
+	link_libraries(${VORBIS_LIBRARY})
 	link_libraries(${OGG_LIBRARY})
-	link_libraries(${VORBIS_LIBRARY})
-	link_libraries(${VORBISFILE_LIBRARY})
+	link_libraries(${OPENAL_LIBRARY})
 #build a shared library
 	set (build_type SHARED)
 endif()