diff options
author | João Valverde <j@v6e.pt> | 2023-05-23 19:28:58 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-05-26 22:10:33 +0000 |
commit | 438667846a56c723b4583e672eedc3e07d7d9ea3 (patch) | |
tree | 0827a629253505c96a2a9c198f71f18f8be109b6 /packaging | |
parent | f0e4c5262dab59a880a207352fce80a746ec2281 (diff) |
CMake: Download Npcap/USBPcap using CMake
These binaries are required to build an NSIS installer. Download
them using CMake instead. This avoids a dependency on win-setup.ps1,
that gets in the way using MSYS2.
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/nsis/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/nsis/CMakeLists.txt b/packaging/nsis/CMakeLists.txt index 912bb3d09c..46751f4626 100644 --- a/packaging/nsis/CMakeLists.txt +++ b/packaging/nsis/CMakeLists.txt @@ -320,6 +320,9 @@ macro( ADD_NSIS_PACKAGE_TARGETS ) EXCLUDE_FROM_DEFAULT_BUILD True ) + # Make sure required blobs are available + FetchContent_MakeAvailable(Npcap USBPcap) + # Dump the installer into # ${CMAKE_CURRENT_SOURCE_DIR}/packaging/nsis # Note that executables and DLLs *must* be built separately |