I have installed static version of OGRE. I modified the CMakeLists.txt to:
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/modules
/usr/lib/OGRE/cmake/lib/OGRE/cmake)
I got the following message while compiling an application using OGRE.
$ cmake ..
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- Looking for OGRE...
-- checking for module 'OGRE'
-- package 'OGRE' not found
-- Could not locate OGRE
CMake Error at /usr/lib/OGRE/cmake/lib/OGRE/cmake/FindPkgMacros.cmake:117 (message):
Required library OGRE not found! Install the library (including dev
packages) and try again. If the library is already installed, set the
missing variables manually in cmake.
Call Stack (most recent call first):
/usr/lib/OGRE/cmake/lib/OGRE/cmake/FindOGRE.cmake:215 (findpkg_finish)
source/CMakeLists.txt:32 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
can anybody help?