title: No rule to make target /usr/lib/someLib.so
body: <p>The build use to work in buntu 11.04, now in 12.04 it does not.</p>
  
  <p>There is a conflict with the location of <code>someLib.so</code>.  That is, it is looking in the wrong location.  <code>/usr/lib/here/someLib.so</code> is the correct location.</p>
  
  <p>When I run the 'c' configuration cmd in ccmake, it noticed the conflict,.. once.  Now ccmake no longer complains, but the err is still there.  <code>runtime library [someLib.so] in /usr/lib may be hidden by files in: /usr/lib/here</code></p>
  
  <p>The lines in CMakeLists.txt that cause the build err are:  </p>
  
  <pre><code>ADD_EXECUTABLE(test main.cpp)
  TARGET_LINK_LIBRARIES(test moreStuff evenMoreStuff)
  </code></pre>
  
  <p>I see the problem in the <code>build.make</code> file.  Which is generated by ccmake.  I can't figure out where ccmake is getting the idea that <code>someLib.so</code> is at <code>/usr/lib/</code>, rather than @ <code>/usr/lib/here/</code>.  I figure it would be a <code>SET()</code> statement somewhere.  I'm not finding it.</p>
  
  <p>1) What is the configuration file (ccmake 'c' cmd) called?  Where would it be (same dir?)?
  I figure if I del it, I'll be able to see the err again.  (Changing CMakeFile.txt doesn't seem to do it.)<br>
  2) How can I find out where the location of <code>someLib.so</code> is being set?  (What am I looking for?)</p>
  
  <p>I hate CCMAKE.      Thanks</p>