Fix sanity test fail

pull/35584/head
Esun Kim 1 year ago
parent 584c0c0c98
commit 379c8df20f
  1. 16
      CMakeLists.txt

16
CMakeLists.txt generated

@ -8441,6 +8441,14 @@ add_executable(call_filters_test
third_party/upb/upb/wire/eps_copy_input_stream.c
third_party/upb/upb/wire/reader.c
)
if(WIN32 AND MSVC)
if(BUILD_SHARED_LIBS)
target_compile_definitions(call_filters_test
PRIVATE
"GPR_DLL_IMPORTS"
)
endif()
endif()
target_compile_features(call_filters_test PUBLIC cxx_std_14)
target_include_directories(call_filters_test
PRIVATE
@ -12024,6 +12032,14 @@ if(gRPC_BUILD_TESTS)
add_executable(down_cast_test
test/core/gprpp/down_cast_test.cc
)
if(WIN32 AND MSVC)
if(BUILD_SHARED_LIBS)
target_compile_definitions(down_cast_test
PRIVATE
"GPR_DLL_IMPORTS"
)
endif()
endif()
target_compile_features(down_cast_test PUBLIC cxx_std_14)
target_include_directories(down_cast_test
PRIVATE

Loading…
Cancel
Save