Skip to content

Commit 5217927

Browse files
committed
Merge branch 'master' of github.com:litespeedtech/ls-qpack
2 parents 2b19bf4 + 4a6ff1e commit 5217927

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if(LSQPACK_XXH)
2525
target_sources(ls-qpack PRIVATE deps/xxhash/xxhash.c)
2626
endif()
2727

28-
if(MSVC)
28+
if(WIN32)
2929
target_include_directories(ls-qpack PUBLIC wincompat)
3030
endif()
3131

@@ -104,6 +104,6 @@ endif()
104104

105105
install(TARGETS ls-qpack)
106106
install(FILES lsqpack.h lsxpack_header.h DESTINATION include)
107-
if(MSVC)
107+
if(WIN32)
108108
install(DIRECTORY wincompat/sys DESTINATION include)
109109
endif()

bin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function(lsqpack_add_executable TARGET)
55
target_sources(${TARGET} PRIVATE ${TARGET}.c ../deps/xxhash/xxhash.c)
66
target_include_directories(${TARGET} PRIVATE ../deps/xxhash)
77

8-
if(MSVC)
8+
if(WIN32)
99
target_include_directories(${TARGET} PRIVATE ../wincompat)
1010
target_link_libraries(${TARGET} PRIVATE ${GETOPT_LIB})
1111
else()

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function(lsqpack_add_test TARGET)
33
target_sources(test_${TARGET} PRIVATE test_${TARGET}.c)
44
target_link_libraries(test_${TARGET} ls-qpack)
55

6-
if(MSVC)
6+
if(WIN32)
77
target_include_directories(test_${TARGET} PRIVATE ../wincompat)
88
target_link_libraries(test_${TARGET} ${GETOPT_LIB})
99
else()

0 commit comments

Comments
 (0)