Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are certain default paths where CMake's <a href="http://www.cmake.org/cmake/help/v2.8.11/cmake.html#command%3afind_library" rel="nofollow" title="CMake v2.8.11 documentation for &quot;find_library&quot; command"><code>find_library</code></a> module searches. If your system libs on your old machine happen to be located in one such place, they will be found without any additional work needing to be done.</p> <p>However, as your new machine's path to these libs seems to be "/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib", you'll need to tell CMake about this.</p> <p>One such way, is as you have shown (adding the path explicitly). But in this case, the path is probably specific to just that machine - so you'd be better to only set that path when you invoke CMake on that machine. You can add it to <a href="http://www.cmake.org/cmake/help/v2.8.11/cmake.html#variable%3aCMAKE_PREFIX_PATH" rel="nofollow" title="CMake v2.8.11 documentation for &quot;CMAKE_PREFIX_PATH&quot; variable"><code>CMAKE_PREFIX_PATH</code></a> for example:</p> <pre><code>cmake . -DCMAKE_PREFIX_PATH=/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr </code></pre> <p>(Note: the path in this case get "lib" appended when <code>find_library</code> is called).</p> <p>Or if you only want to affect the <code>find_library</code> search paths, and not <em>all</em> <code>find_xxx</code> modules, set <a href="http://www.cmake.org/cmake/help/v2.8.11/cmake.html#variable%3aCMAKE_LIBRARY_PATH" rel="nofollow" title="CMake v2.8.11 documentation for &quot;CMAKE_LIBRARY_PATH&quot; variable"><code>CMAKE_LIBRARY_PATH</code></a></p> <pre><code>cmake . -DCMAKE_LIBRARY_PATH=/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload