I want to install some dlls to the executable output directory, I’m wondering why this doesn’t work:
#Place the dlls in the exe directory
install(FILES ${MAIN_SRC_DIR}/ExternalDeps/OpenSSL/bin/libcrypto-3-x64.dll DESTINATION ${RUNTIME_OUTPUT_DIRECTORY})
I understand that the RUNTIME_OUTPUT_DIRECTORY is where the executable or library is put after building the target. However I get this message when configuring in CMake:
CMake Error at CMakeLists.txt:68 (install):
install FILES given no DESTINATION!
Why does it say I gave no destination?