title: How to use CMake to construct an OpenSceneGraph project?
body: <p>I have just downloaded the OpenSceneGraph source, unzip it into
  "~/OpenSceneGraph-3.0.1" directory and use CMake to create an out-of-source
  eclipse make project in "~/OpenSceneGraph-3.0.1-build-eclipse-cdt"
  directory. When I execute "make" in
  "~/OpenSceneGraph-3.0.1-build-eclipse-cdt" directory, OpenSceneGraph builds
  successfully. I have not run "sudo make install" as I do not want to
  install OpenSceneGraph tightly into my Ubuntu system.</p>
  
  <p>Now I want to use CMake to create a project using the compiled
  OpenSceneGraph libraries. I use the following codes in CMakeLists.txt :</p>
  
  <pre><code>CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
  PROJECT( test_proj )
  FIND_PACKAGE(OpenSceneGraph)
  ADD_EXECUTABLE(test test.cpp )
  INCLUDE_DIRECTORIES(${OPENSCENEGRAPH_INCLUDE_DIRS})
  TARGET_LINK_LIBRARIES(test ${OPENSCENEGRAPH_LIBRARIES} )
  </code></pre>
  
  <p>But it seems that OpenSceneGraph could not be found by CMake.</p>
  
  <p>Does anyone know how CMake could find the compiled OpenSceneGraph
  libraries in the "~/OpenSceneGraph-3.0.1-build-eclipse-cdt" directory and
  use it to create projects as if I have tightly installed OpenSceneGraph
  using "sudo make install". Thanks for any suggestion.</p>