-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update msquic to 3.4.7 - Update msh3 to 0.7.0
- Loading branch information
Showing
10 changed files
with
54 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,33 @@ | ||
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt | ||
index 2376823..d0592a3 100644 | ||
index 18048e3b7..241c75511 100644 | ||
--- a/src/bin/CMakeLists.txt | ||
+++ b/src/bin/CMakeLists.txt | ||
@@ -253,14 +253,14 @@ endif() | ||
if(BUILD_SHARED_LIBS) | ||
target_include_directories(msquic PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../inc> | ||
- $<INSTALL_INTERFACE:${include_dest}>) | ||
+ $<INSTALL_INTERFACE:include>) | ||
else() | ||
target_include_directories(msquic_static INTERFACE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../inc> | ||
- $<INSTALL_INTERFACE:${include_dest}>) | ||
+ $<INSTALL_INTERFACE:include>) | ||
target_include_directories(msquic INTERFACE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../inc> | ||
- $<INSTALL_INTERFACE:${include_dest}>) | ||
+ $<INSTALL_INTERFACE:include>) | ||
@@ -260,20 +260,20 @@ if(WIN32) | ||
list(APPEND OTHER_TARGETS MsQuicEtw_Header) | ||
endif() | ||
|
||
set(PUBLIC_HEADERS | ||
@@ -269,11 +269,10 @@ set(PUBLIC_HEADERS | ||
../inc/msquic_posix.h | ||
../inc/quic_sal_stub.h) | ||
|
||
-if(BUILD_SHARED_LIBS) | ||
- install(TARGETS msquic EXPORT msquic DESTINATION lib) | ||
- install(TARGETS msquic msquic_platform inc logging_inc warnings main_binary_link_args ${OTHER_TARGETS} EXPORT msquic DESTINATION lib) | ||
-else() | ||
- install(FILES ${QUIC_STATIC_LIBRARY} DESTINATION lib) | ||
-endif() | ||
+install(TARGETS msquic EXPORT msquic | ||
+install(TARGETS msquic msquic_platform inc logging_inc warnings main_binary_link_args ${OTHER_TARGETS} EXPORT msquic | ||
+ RUNTIME DESTINATION bin | ||
+ ARCHIVE DESTINATION lib | ||
+ LIBRARY DESTINATION lib) | ||
install(FILES ${PUBLIC_HEADERS} DESTINATION include) | ||
|
||
configure_file(msquic-config.cmake.in ${CMAKE_BINARY_DIR}/msquic-config.cmake) | ||
|
||
install(FILES ${CMAKE_BINARY_DIR}/msquic-config.cmake DESTINATION share/msquic) | ||
|
||
-if(BUILD_SHARED_LIBS) | ||
- install(EXPORT msquic DESTINATION share/msquic) | ||
-endif() | ||
+install( | ||
+ EXPORT msquic | ||
+ NAMESPACE msquic:: | ||
+ DESTINATION share/msquic) | ||
|
||
if (MSVC AND NOT QUIC_ENABLE_SANITIZERS AND BUILD_SHARED_LIBS) | ||
target_compile_options(msquic PRIVATE /analyze) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters