excerpt from CMake/Dependencies.cmake
Code: Select all
# now see if we have a buildable Dependencies package in the source tree. If so, include that, and it will take care of
# setting everything up, including overriding any of the above findings.
set(OGREDEPS_RUNTIME_OUTPUT ${OGRE_RUNTIME_OUTPUT})
if (EXISTS "${OGRE_SOURCE_DIR}/Dependencies/CMakeLists.txt")
add_subdirectory(Dependencies)
elseif (EXISTS "${OGRE_SOURCE_DIR}/ogredeps/CMakeLists.txt")
add_subdirectory(ogredeps)
endif ()
when i try to build OGRE 1-8-1 it doesnt pick any thing from ogredeps folder.
my source folder structure:
===============================
$tree -d -L 1
.
|-- build
|-- CMake
|-- Components
|-- Docs
|-- ogredeps
|-- OgreMain
|-- Other
|-- PlugIns
|-- RenderSystems
|-- Samples
|-- Scripts
|-- SDK
|-- Tests
`-- Tools
===============================
what mistake am i making? how can i make it choose the libs from ogredeps folder?