From f3657f1f27e79dd56587e880abe95426469625b0 Mon Sep 17 00:00:00 2001 From: "Ryan A. Pavlik" Date: Mon, 20 Jun 2022 14:02:31 -0500 Subject: [PATCH] Add back vc_compat.h header install. (#389) Windows installs are broken without it. Alternative is to inline the important parts in lsquic.h which is probably better. --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65c4776..db5c8a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -336,3 +336,10 @@ INSTALL(FILES include/lsxpack_header.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lsquic ) + +if(WIN32) + install(FILES + wincompat/vc_compat.h + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lsquic + ) +endif()