From Laurens Voerman, "two minor fixes, both in a CMakeList.txt file,
1> osgmultiplemovies example does not use SDL so needs no link to SDL 2> Added header files to "Plugins osg" project, so visual studio can find the source of OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched property " "
This commit is contained in:
parent
7050c59cae
commit
61ccd56d25
@ -1,14 +1,3 @@
|
|||||||
# INCLUDE_DIRECTORIES( ${OPENAL_INCLUDE_DIR} )
|
|
||||||
# SET(TARGET_EXTERNAL_LIBRARIES ${OPENAL_LIBRARY} alut)
|
|
||||||
|
|
||||||
IF (SDL_FOUND)
|
|
||||||
SET(TARGET_EXTERNAL_LIBRARIES ${SDL_LIBRARY} )
|
|
||||||
INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} )
|
|
||||||
ADD_DEFINITIONS(-DUSE_SDL)
|
|
||||||
IF (MINGW)
|
|
||||||
SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} winmm dinput ddraw dxguid)
|
|
||||||
ENDIF()
|
|
||||||
ENDIF(SDL_FOUND)
|
|
||||||
|
|
||||||
SET(TARGET_SRC osgmultiplemovies.cpp )
|
SET(TARGET_SRC osgmultiplemovies.cpp )
|
||||||
SET(TARGET_ADDED_LIBRARIES osgGA )
|
SET(TARGET_ADDED_LIBRARIES osgGA )
|
||||||
|
@ -2,6 +2,10 @@ SET(TARGET_SRC
|
|||||||
ReaderWriterOSG.cpp
|
ReaderWriterOSG.cpp
|
||||||
ReaderWriterOSG2.cpp
|
ReaderWriterOSG2.cpp
|
||||||
)
|
)
|
||||||
|
SET(TARGET_H
|
||||||
|
AsciiStreamOperator.h
|
||||||
|
BinaryStreamOperator.h
|
||||||
|
XmlStreamOperator.h
|
||||||
|
)
|
||||||
#### end var setup ###
|
#### end var setup ###
|
||||||
SETUP_PLUGIN(osg)
|
SETUP_PLUGIN(osg)
|
||||||
|
Loading…
Reference in New Issue
Block a user