title: Cross compile with cmake for arm with static linked boost library
body: <p>what I have:</p>
  
  <ul>
  <li>a c++ project which uses the boost library</li>
  <li>the project is build with cmake and links boost dynamically</li>
  <li>a linux machine with x64</li>
  <li>a dev board with an arm processor and linux</li>
  </ul>
  
  <p>what I want:</p>
  
  <p>One CMake project which does the follows:</p>
  
  <ul>
  <li>one build for the x64 architecture (for gtest and local development)</li>
  <li>another build for the arm architecture</li>
  <li><strong>both with static linked boost library</strong></li>
  </ul>
  
  <p>Is this possible, and if so, how?</p>
  
  <p>IMHO the main issue is to tell cmake, that for the second build it should use another (this time for arm) precompiled boost library to link. No idea how to do.</p>