I want to automatically copy dlls into my install folder with
However, with VS2019, toolset v142, I am getting:
CMake Warning at C:/Program Files/CMake/share/cmake-3.25/Modules/InstallRequiredSystemLibraries.cmake:625 (message): system runtime library file does not exist: 'MSVC_REDIST_DIR-NOTFOUND/x64/Microsoft.VC142.CRT/msvcp140.dll' Call Stack (most recent call first): cmake/knime_package_support.cmake:63 (include) CMakeLists.txt:465 (include)
I was trying to debug your module: https://gitlab.kitware.com/search?group_id=415&project_id=541&repository_ref=master&scope=blobs&search=MSVC_REDIST_DIR
but the MSVC_REDIST_DIR is indeed never set for VS 15+ in your code.
How is this supposed to work then?