Copy file from source directory to binary directory in CMake September 26, 2017 configure_file(res/ssleay32.dll ssleay32.dll COPYONLY) References https://stackoverflow.com/questions/34799916/cmake-copy-file-from-source-directory-to-binary-directory Related