Fixed: minor compile and link errors related to Ogg/Vorbis and nelsnd_lowlevel

This commit is contained in:
rti 2010-08-04 16:31:28 +02:00
parent 81c6b7e48a
commit e1656d14a7
3 changed files with 3 additions and 5 deletions

View file

@ -11,7 +11,7 @@ ENDIF(OGG_LIBRARY AND OGG_INCLUDE_DIR)
FIND_PATH(OGG_INCLUDE_DIR
ogg.h
ogg/ogg.h
PATHS
$ENV{OGG_DIR}/include
/usr/local/include
@ -20,7 +20,6 @@ FIND_PATH(OGG_INCLUDE_DIR
/opt/local/include
/opt/csw/include
/opt/include
PATH_SUFFIXES ogg
)
FIND_LIBRARY(OGG_LIBRARY

View file

@ -11,7 +11,7 @@ ENDIF(VORBIS_LIBRARY AND VORBIS_INCLUDE_DIR)
FIND_PATH(VORBIS_INCLUDE_DIR
vorbisfile.h
vorbis/vorbisfile.h
PATHS
$ENV{VORBIS_DIR}/include
/usr/local/include
@ -20,7 +20,6 @@ FIND_PATH(VORBIS_INCLUDE_DIR
/opt/local/include
/opt/csw/include
/opt/include
PATH_SUFFIXES vorbis
)
FIND_LIBRARY(VORBIS_LIBRARY

View file

@ -3,7 +3,7 @@ FILE(GLOB SRC *.cpp *.h)
nl_target_lib(nelsnd_lowlevel ${SRC})
INCLUDE_DIRECTORIES(${OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(nelsnd_lowlevel ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY} ${OGG_LIBRARY})
TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY} ${OGG_LIBRARY})
nl_default_props(nelsnd_lowlevel "Library: NeL Sound Lowlevel")
NL_ADD_STATIC_VID_DRIVERS(nelsnd_lowlevel)
nl_add_lib_suffix(nelsnd_lowlevel)