title: Can't configure cmake to build standalone executable using cygwin
body: <p>I need to build my c++ project that I created using CLion as standalone exe-file but I don't know how to do that!</p>
  
  <p>Here is my CMakeList.txt: </p>
  
  <p><a href="https://i.stack.imgur.com/SbjMf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SbjMf.png" alt="CMakeList.txt"></a></p>
  
  <p>Here is my CLion Toolchain settings:</p>
  
  <p><a href="https://i.stack.imgur.com/oSlr5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oSlr5.png" alt="TOOLCHAIN"></a></p>
  
  <p>The settings is OK!</p>
  
  <p>But when I build exe and run it i get error:</p>
  
  <p><a href="https://i.stack.imgur.com/5M40Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5M40Z.png" alt="CYGWIN1_ERROR"></a></p>
  
  <p>It says that the program can't be run because "cygwin1.dll" is missing and reinstalling the program could help to fix it.</p>
  
  <p>Anybody knows how to fix that? I can't find cygwin1.dll in cygwin installing client to fix it:</p>
  
  <p><a href="https://i.stack.imgur.com/MPo12.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MPo12.png" alt="install_client"></a> </p>