We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e4b3a commit ccf0251Copy full SHA for ccf0251
webrtc-jni/src/main/cpp/dependencies/jni-voithos/CMakeLists.txt
@@ -80,4 +80,16 @@ target_include_directories(${PROJECT_NAME}
80
include/jni/${JNI_PLATFORM}
81
)
82
83
+# Inherit libc++ include paths from webrtc
84
+target_include_directories(${PROJECT_NAME}
85
+ PUBLIC
86
+ ${TARGET_LIBCPP_BUILDTOOLS_INC_DIR}
87
+ ${TARGET_LIBCPP_INC_DIR}
88
+ ${TARGET_LIBCPP_ABI_INC_DIR}
89
+)
90
+
91
+if(LINUX)
92
+ target_compile_options(${PROJECT_NAME} PUBLIC -stdlib=libc++)
93
+endif()
94
95
target_link_libraries(${PROJECT_NAME} PRIVATE webrtc)
0 commit comments