title: CMake: Building a Static Binary
body: <p>I'm trying to build a static binary with CMake. </p>
  
  <p>I've looked around and found a number of non descriptive solutions(e.g add the linker flag "-static"), but I'm not sure how to test them.</p>
  
  <p>How do I know if a certain library (e.g Threading) has been statically built into my binary?</p>