Skip to content

Commit ce7e164

Browse files
Maybe fix
1 parent abbc301 commit ce7e164

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ endif()
5454

5555
function(livekit_enable_strict_compile_warnings target_name)
5656
if(MSVC)
57-
target_compile_options(${target_name} PRIVATE /permissive- /Zc:__cplusplus /W4 /WX /wd4251)
57+
target_compile_options(${target_name} PRIVATE /permissive- /Zc:__cplusplus /W4 /WX /wd4251 /wd4267)
5858
else()
5959
target_compile_options(${target_name} PRIVATE
6060
-Wall
@@ -138,6 +138,9 @@ set(LIVEKIT_PROTO_INCLUDE_DIRS
138138
"${PROTO_BINARY_DIR}"
139139
${Protobuf_INCLUDE_DIRS}
140140
)
141+
if(DEFINED livekit_abseil_SOURCE_DIR)
142+
list(APPEND LIVEKIT_PROTO_INCLUDE_DIRS "${livekit_abseil_SOURCE_DIR}")
143+
endif()
141144
set(LIVEKIT_EXTERNAL_SYSTEM_INCLUDE_DIRS)
142145
foreach(_livekit_system_include_target
143146
absl::base

0 commit comments

Comments
 (0)