aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPascal Quantin <pascal@wireshark.org>2019-08-16 21:45:43 +0200
committerPascal Quantin <pascal@wireshark.org>2019-08-16 20:15:30 +0000
commit41b8c22e74a1f3e80d1810fc330f6c5500f4fee2 (patch)
tree13c72a74a8e4dcb58aa1ef1ef8d08a443eeb40f9 /cmake
parenta3c81d328f80747e53c84f8190eb0aa8fa7e2313 (diff)
Windows: add nghttp2.pdb file to our PDB .zip
Change-Id: I496959a04fdbd7a275d772600736bde63ac8b14e Reviewed-on: https://code.wireshark.org/review/34307 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindNGHTTP2.cmake9
1 files changed, 7 insertions, 2 deletions
diff --git a/cmake/modules/FindNGHTTP2.cmake b/cmake/modules/FindNGHTTP2.cmake
index 6398bd998c..8748210c43 100644
--- a/cmake/modules/FindNGHTTP2.cmake
+++ b/cmake/modules/FindNGHTTP2.cmake
@@ -44,10 +44,15 @@ if( NGHTTP2_FOUND )
"${NGHTTP2_DLL_DIR}/nghttp2.dll"
)
set ( NGHTTP2_DLL ${_nghttp2_dll}
- # We're storing filenames only. Should we use STRING instead?
CACHE FILEPATH "nghttp2 DLL file name"
)
- mark_as_advanced( NGHTTP2_DLL_DIR NGHTTP2_DLL )
+ file( GLOB _nghttp2_pdb RELATIVE "${NGHTTP2_DLL_DIR}"
+ "${NGHTTP2_DLL_DIR}/nghttp2.pdb"
+ )
+ set ( NGHTTP2_PDB ${_nghttp2_pdb}
+ CACHE FILEPATH "nghttp2 PDB file name"
+ )
+ mark_as_advanced( NGHTTP2_DLL_DIR NGHTTP2_DLL NGHTTP2_PDB )
endif()
else()
set( NGHTTP2_INCLUDE_DIRS )