equal
deleted
inserted
replaced
12 ) |
12 ) |
13 |
13 |
14 #build a static library for human systems |
14 #build a static library for human systems |
15 set (build_type STATIC) |
15 set (build_type STATIC) |
16 |
16 |
17 #visualstudio and windows in general doesn't like static linking, so we're building the library in shared mode |
17 #visualstudio and windows in general don't like static linking, so we're building the library in shared mode |
18 if(WIN32) |
18 if(WIN32) |
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 wrappers.h globals.h oggvorbis.h errlib.h ${openal_src} |
21 openalbridge.h openalbridge_t.h loaders.h wrappers.h globals.h oggvorbis.h errlib.h ${openal_src} |
22 ) |
22 ) |
23 #deps for the shared library |
23 #deps for the shared library |
24 link_libraries(${VORBISFILE_LIBRARY}) |
24 link_libraries(${VORBISFILE_LIBRARY}) |
25 link_libraries(${VORBIS_LIBRARY}) |
25 link_libraries(${VORBIS_LIBRARY}) |
26 link_libraries(${OGG_LIBRARY}) |
26 link_libraries(${OGG_LIBRARY}) |