Fixed CMake support for osgsimpleviewWX
This commit is contained in:
parent
2ca67c0916
commit
5e161ff0e0
@ -123,13 +123,15 @@ FIND_PACKAGE(SDL)
|
||||
FIND_PACKAGE(Inventor)
|
||||
FIND_PACKAGE(Qt3)
|
||||
FIND_PACKAGE(Qt4)
|
||||
FIND_PACKAGE(wxWidgets)
|
||||
FIND_PACKAGE(Jasper)
|
||||
FIND_PACKAGE(COLLADA)
|
||||
FIND_PACKAGE(Xine)
|
||||
FIND_PACKAGE(OpenVRML)
|
||||
FIND_PACKAGE(Performer)
|
||||
|
||||
SET(wxWidgets_USE_LIBS base core gl net)
|
||||
FIND_PACKAGE(wxWidgets)
|
||||
|
||||
# Platform specific:
|
||||
# (We can approach this one of two ways. We can try to FIND everything
|
||||
# and simply check if we found the packages before actually building
|
||||
|
@ -3,7 +3,11 @@ SET(TARGET_SRC osgsimpleviewerWX.cpp )
|
||||
SET(TARGET_H osgsimpleviewerWX.h )
|
||||
|
||||
SET(TARGET_ADDED_LIBRARIES ${wxWidgets_LIBRARIES} )
|
||||
|
||||
INCLUDE_DIRECTORIES(${wxWidgets_INCLUDE_DIRS} )
|
||||
|
||||
ADD_DEFINITIONS( ${wxWidgets_DEFINITIONS} )
|
||||
|
||||
|
||||
#### end var setup ###
|
||||
SETUP_EXAMPLE(osgsimpleviewerWX)
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#include "wxOsgSample.h"
|
||||
#include "osgsimpleviewerWX.h"
|
||||
#include <osgGA/TrackballManipulator>
|
||||
#include <osgDB/ReadFile>
|
||||
#include <wx/image.h>
|
||||
|
Loading…
Reference in New Issue
Block a user