diff options
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindNGHTTP2.cmake | 9 |
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 ) |