[reporter="cadabra", created="Fri, 27 Sep 2013 06:05:21 +0200"]
OS X, OGRE_STATIC=OFF, working copy at 5087:06a4f5ef9bfd. find_package(OGRE) fails.
cmake_minimum_required(VERSION 2.8.11.2 FATAL_ERROR) project(testapp) find_package(OGRE)
I attached two CMake logs from the same test project: one normal and one verbose. They include generating and building tinyxml, OGRE, and the test app. The latter fails in generation because it can't find the OGRE that was just built.
Not sure what's going wrong in FindOGRE. It managed to find:
>>>> Ogre_FRAMEWORK_INCLUDES "/installs/ext/ogre/lib/macosx/Release/Ogre.framework/Headers;/installs/ext/ogre/lib/macosx/Release/Ogre.framework/PrivateHeaders;/installs/ext/ogre/lib/macosx/Release/Ogre.framework/Headers;/installs/ext/ogre/lib/macosx/Release/Ogre.framework/PrivateHeaders"
but it failed to set the framework path such that FindPkgMacros could find it in the end.
该提问来源于开源项目:OGRECave/ogre