diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-07-08 10:29:03 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-07-08 10:29:03 +0800 |
commit | a8dfeed4632aad0233ff08d1efd950b620fd1be7 (patch) | |
tree | 7caf71866ac4cad1cdcc552ecd055beb0830e7a1 /indra/llwebrtc | |
parent | 145e76276190b295a3a2416182964542aa6baf1b (diff) |
LL_WEBRTC for marking WebRTC supporting platforms
so we don't have to keep adding unsupporting ones to the preprocessors
in llvoiceclient.
Note that CM_WEBRTC is complementary to LL_WEBRTC, which means its
purpose is not to be XOR-ed.
Any WebRTC supporting (either using LL's or CM's build) will have
LL_WEBRTC set to ON, but *only* ones that use CM builds will have
CM_WEBRTC set to ON *too*.
Diffstat (limited to 'indra/llwebrtc')
-rw-r--r-- | indra/llwebrtc/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llwebrtc/CMakeLists.txt b/indra/llwebrtc/CMakeLists.txt index a64a3e4dac..e6493e044d 100644 --- a/indra/llwebrtc/CMakeLists.txt +++ b/indra/llwebrtc/CMakeLists.txt @@ -28,6 +28,7 @@ list(APPEND llwebrtc_SOURCE_FILES ${llwebrtc_HEADER_FILES}) add_library (llwebrtc SHARED ${llwebrtc_SOURCE_FILES}) +target_compile_definitions(ll::webrtc INTERFACE LL_WEBRTC=1) #set_target_properties(llwebrtc PROPERTIES PUBLIC_HEADER llwebrtc.h) if (WINDOWS) |