Changed: ogg vorbis lib order
This commit is contained in:
parent
0c00af96a5
commit
f9903f46de
1 changed files with 3 additions and 2 deletions
|
@ -3,14 +3,15 @@ FILE(GLOB HEADERS ../../../include/nel/sound/driver/*.h)
|
||||||
|
|
||||||
NL_TARGET_LIB(nelsnd_lowlevel ${HEADERS} ${SRC})
|
NL_TARGET_LIB(nelsnd_lowlevel ${HEADERS} ${SRC})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR})
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY})
|
||||||
IF(WITH_STATIC)
|
IF(WITH_STATIC)
|
||||||
# Add libogg dependency only if target is static because to libvorbisfile
|
# Add libogg dependency only if target is static because to libvorbisfile
|
||||||
TARGET_LINK_LIBRARIES(nelsnd_lowlevel ${OGG_LIBRARY})
|
TARGET_LINK_LIBRARIES(nelsnd_lowlevel ${OGG_LIBRARY})
|
||||||
ENDIF(WITH_STATIC)
|
ENDIF(WITH_STATIC)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR})
|
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY})
|
|
||||||
SET_TARGET_PROPERTIES(nelsnd_lowlevel PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
SET_TARGET_PROPERTIES(nelsnd_lowlevel PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
||||||
NL_DEFAULT_PROPS(nelsnd_lowlevel "NeL, Library: Sound Lowlevel")
|
NL_DEFAULT_PROPS(nelsnd_lowlevel "NeL, Library: Sound Lowlevel")
|
||||||
NL_ADD_RUNTIME_FLAGS(nelsnd_lowlevel)
|
NL_ADD_RUNTIME_FLAGS(nelsnd_lowlevel)
|
||||||
|
|
Loading…
Reference in a new issue