diff -r d24257910f8d -r aaefa587e277 misc/libopenalbridge/CMakeLists.txt --- a/misc/libopenalbridge/CMakeLists.txt Sun Dec 02 00:03:16 2012 +0100 +++ b/misc/libopenalbridge/CMakeLists.txt Tue Dec 25 04:45:22 2012 +0100 @@ -15,14 +15,14 @@ #visualstudio and windows in general don't like static linking, so we're building the library in shared mode if(WIN32) #workaround for visualstudio (wants headers in the source list) - set(openal_src *.h ${openal_src}) + set(openal_src *.h ${openal_src}) #deps for the shared library - link_libraries(${VORBISFILE_LIBRARY}) - link_libraries(${VORBIS_LIBRARY}) - link_libraries(${OGG_LIBRARY}) - link_libraries(${OPENAL_LIBRARY}) + link_libraries(${VORBISFILE_LIBRARY}) + link_libraries(${VORBIS_LIBRARY}) + link_libraries(${OGG_LIBRARY}) + link_libraries(${OPENAL_LIBRARY}) #build a shared library - set (build_type SHARED) + set (build_type SHARED) endif() #compiles and links actual library @@ -30,10 +30,10 @@ if(WIN32) if(MSVC) - SET_TARGET_PROPERTIES(openalbridge PROPERTIES LINK_FLAGS /DEF:openalbridge.def) + set_target_properties(openalbridge PROPERTIES LINK_FLAGS /DEF:openalbridge.def) endif(MSVC) #install it in the executable directory - install(TARGETS openalbridge DESTINATION bin) + install(TARGETS openalbridge DESTINATION bin) endif(WIN32) #type make openalbridge_test to get a small executable test