path problem in cmake

haibo19981984

01-03-2011 02:42:15

"D:/ogre_src_v1-7-1/include/OGRE" is an incorrect path obviously.It should be "D:/ogre_src_v1-7-1/OgreMain/include" .
But "OGRE_INCLUDE_DIR" that cmake displays is always "D:/ogre_src_v1-7-1/include/OGRE;D:/ogre_src_v1-7-1/include" when compile myGUI.
Is it a error about cmake's script?

Altren

02-03-2011 13:02:34

We use FindOgre.cmake that comes with ogre sources. So this is not problem with CMake scripts in MyGUI.
Also I think that this behaviour is correct and you should build INSTALL target in Ogre to get your headers there.

haibo19981984

02-03-2011 15:00:56

Thanks for your reply.