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.
This commit is contained in:
Ryan A. Pavlik 2022-06-20 14:02:31 -05:00 committed by GitHub
parent 4e852fc0b9
commit f3657f1f27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()