How to find dll/so files in a CMake Superbuild
问题 I have set up cross-platform software project using CMake Superbuild, where dependencies are added and built using ExternalProject_Add . The project compiles on both Windows and Linux, but when I try to run the executable programs that are produced, it does not work because it fails to find dll/so files of dependencies. This is not surprising, as the dll/so files of external dependencies are not placed in the output directory( bin in visualization below). One of the dependencies that are