openalbridge/CMakeLists.txt
changeset 2350 1eef75bdcdba
parent 2326 0ddf641fddee
child 2417 f7ed1ea25050
equal deleted inserted replaced
2349:ba7a0813c532 2350:1eef75bdcdba
    19 #workaround for visualstudio (wants headers in the source list)
    19 #workaround for visualstudio (wants headers in the source list)
    20 	set(openal_src
    20 	set(openal_src
    21 		openalbridge.h loaders.h endianness.h wrappers.h globals.h oggvorbis.h ${openal_src}
    21 		openalbridge.h loaders.h endianness.h wrappers.h globals.h oggvorbis.h ${openal_src}
    22 	)
    22 	)
    23 #deps for the shared library
    23 #deps for the shared library
       
    24 	link_libraries(${VORBISFILE_LIBRARY})
       
    25 	link_libraries(${VORBIS_LIBRARY})
       
    26 	link_libraries(${OGG_LIBRARY})
    24 	link_libraries(${OPENAL_LIBRARY})
    27 	link_libraries(${OPENAL_LIBRARY})
    25 	link_libraries(${OGG_LIBRARY})
       
    26 	link_libraries(${VORBIS_LIBRARY})
       
    27 	link_libraries(${VORBISFILE_LIBRARY})
       
    28 #build a shared library
    28 #build a shared library
    29 	set (build_type SHARED)
    29 	set (build_type SHARED)
    30 endif()
    30 endif()
    31 
    31 
    32 #compiles and links actual library
    32 #compiles and links actual library