title: Custom Directory for CMake Library Output
body: <p>In CMake, I can't seem to output my library in ../out/library, only library. When I do the ../out/library path, it tells me it can't find the library, as if it wants to link to it.</p>
  
  <pre><code>add_library(../out/JE3D ../source/CDeviceLayerSDL.cpp)
  </code></pre>
  
  <p>There's more files, I'm just saving space. When I do that, I get this error.</p>
  
  <blockquote>
    <p>Linking CXX static library lib../out/JE3D.a
    /usr/bin/ar: lib../out/JE3D.a: No such file or directory
    make[2]: <strong>* [lib../out/JE3D.a] Error 1
    make[1]: *</strong> [CMakeFiles/../out/JE3D.dir/all] Error 2
    make: *** [all] Error 2</p>
  </blockquote>