* **I'm submitting a:**
  - [ ] Vulnerability report -> **use the specific [form](https://github.com/podofo/podofo/security/advisories/new) instead!**
  - [x] Bug report
  - [ ] Feature request/suggestion

* **[Bug report] What is the current behavior?**
* When I execute my application on my dev machine, all is working. When I deploy this app on my target machine, I get an error "The application was unable to start correctly (0xc0000142)".

The openSSL libcrypto-3-x64.dll library rely on legacy.dll, which seems to be linked with the absolute path of my vcpkg installation on my development computer (DW give me the exact path of legacy.dll on my dev computer) ! If I recreate on my target computer the exact path of legacy.dll on my development computer, my app run !

* **[Bug report] What is the expected behavior?**
Library gets copied into the build folder and project is linked to this library

* **[Bug report] Please provide the steps to reproduce and if possible a minimal reproduction code of the problem**
Try to deploy podofo on a Computer without vcpkg installed.

* **Please tell us about your environment:**
  
  - Version/git revision: [1.10.0]
  - Operating System: Windows (64 bits)
  - Package manager used: vcpkg

I dont know if this error is based on the podofo cmake configuration or is within vcpkg.

legacy.dll not copied
This is a GitHub Issue
repo:podofo
owner:podofo
Title : legacy.dll not copied
Issue date:

--- start body ---
* **I'm submitting a:**
  - [ ] Vulnerability report -> **use the specific [form](https://github.com/podofo/podofo/security/advisories/new) instead!**
  - [x] Bug report
  - [ ] Feature request/suggestion

* **[Bug report] What is the current behavior?**
* When I execute my application on my dev machine, all is working. When I deploy this app on my target machine, I get an error "The application was unable to start correctly (0xc0000142)".

The openSSL libcrypto-3-x64.dll library rely on legacy.dll, which seems to be linked with the absolute path of my vcpkg installation on my development computer (DW give me the exact path of legacy.dll on my dev computer) ! If I recreate on my target computer the exact path of legacy.dll on my development computer, my app run !

* **[Bug report] What is the expected behavior?**
Library gets copied into the build folder and project is linked to this library

* **[Bug report] Please provide the steps to reproduce and if possible a minimal reproduction code of the problem**
Try to deploy podofo on a Computer without vcpkg installed.

* **Please tell us about your environment:**
  
  - Version/git revision: [1.10.0]
  - Operating System: Windows (64 bits)
  - Package manager used: vcpkg

I dont know if this error is based on the podofo cmake configuration or is within vcpkg.

--- end body ---
