in applications/present3D/CMakeLists.txt

I have added the following 2 lines

SET(TARGET_EXTERNAL_LIBRARIES ${SDL_LIBRARY} )

INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} )

just before

IF (SDL_FOUND)

and present3D now compiles and links

As my understanding of cmake is very patchy, I have no idea if this is a valid 
patch that would work if SDL is not found by cmake or if the user did not 
select SDL

works for me and is cleaner than manually editing the generated Makefiles 
though ;-)

Francois Genolini
Aberdeen, cal and digging doon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11651#11651





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to