diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt index 4c537a1641..ec6a876b57 100644 --- a/src/bin/CMakeLists.txt +++ b/src/bin/CMakeLists.txt @@ -269,7 +269,7 @@ endif() file(GLOB PUBLIC_HEADERS "../inc/*.h" "../inc/*.hpp") if(BUILD_SHARED_LIBS) - install(TARGETS msquic EXPORT msquic DESTINATION lib) + install(TARGETS msquic platform inc logging_inc warnings main_binary_link_args OpenSSL OpenSSLQuic EXPORT msquic DESTINATION lib) else() install(FILES ${QUIC_STATIC_LIBRARY} DESTINATION lib) endif() diff --git a/src/inc/CMakeLists.txt b/src/inc/CMakeLists.txt index 94daef9a66..f682d012f8 100644 --- a/src/inc/CMakeLists.txt +++ b/src/inc/CMakeLists.txt @@ -9,7 +9,9 @@ target_compile_options(inc INTERFACE ${QUIC_C_FLAGS}) target_compile_options(inc INTERFACE $<$:${QUIC_CXX_FLAGS}>) target_compile_definitions(inc INTERFACE ${QUIC_COMMON_DEFINES}) -target_include_directories(inc INTERFACE ${QUIC_INCLUDE_DIR}) +target_include_directories(inc INTERFACE + $ + $) target_compile_features(inc INTERFACE cxx_std_17) target_compile_features(inc INTERFACE c_std_11)