1 parent ec05488 commit 273195eCopy full SHA for 273195e
1 file changed
CMakeLists.txt
@@ -43,14 +43,14 @@ else()
43
set(LSQPACK_DEPENDS "libxxhash")
44
endif()
45
46
-if(WIN32)
+if(WIN32 OR EMSCRIPTEN)
47
target_include_directories(ls-qpack PUBLIC
48
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/wincompat>
49
$<INSTALL_INTERFACE:include>
50
)
51
52
53
+if(MSVC)
54
target_compile_options(ls-qpack PRIVATE
55
/Wall
56
/wd4100 # unreffed parameter
@@ -147,6 +147,6 @@ if(LSQPACK_BIN)
147
DESTINATION ${CMAKE_INSTALL_BINDIR})
148
149
150
151
install(DIRECTORY wincompat/sys DESTINATION include)
152
0 commit comments