|
|
|
@ -2,9 +2,14 @@ FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
|
|
|
|
|
NL_TARGET_LIB(nelsnd_lowlevel ${SRC})
|
|
|
|
|
|
|
|
|
|
IF(WITH_STATIC)
|
|
|
|
|
# Add libogg dependency only if target is static because to libvorbisfile
|
|
|
|
|
TARGET_LINK_LIBRARIES(nelsnd_lowlevel ${OGG_LIBRARY})
|
|
|
|
|
ENDIF(WITH_STATIC)
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR})
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY} ${OGG_LIBRARY})
|
|
|
|
|
TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY})
|
|
|
|
|
SET_TARGET_PROPERTIES(nelsnd_lowlevel PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
|
|
|
|
NL_DEFAULT_PROPS(nelsnd_lowlevel "NeL, Library: Sound Lowlevel")
|
|
|
|
|
NL_ADD_STATIC_VID_DRIVERS(nelsnd_lowlevel)
|
|
|
|
|