summaryrefslogtreecommitdiff
path: root/indra/llwebrtc
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-09-11 15:38:58 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:33 -0800
commitebfcb6f4e8cad8052ba2c924741a0098b572ed81 (patch)
treec3500cd0094f989df369218bc6c6d367ebd87f53 /indra/llwebrtc
parentb2d4ce16ad344162ecc190f798704e3ac179555a (diff)
some build tweaks
Diffstat (limited to 'indra/llwebrtc')
-rw-r--r--indra/llwebrtc/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/llwebrtc/CMakeLists.txt b/indra/llwebrtc/CMakeLists.txt
index a06e0aaa03..f32d3dc580 100644
--- a/indra/llwebrtc/CMakeLists.txt
+++ b/indra/llwebrtc/CMakeLists.txt
@@ -5,7 +5,9 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
-set(CMAKE_GENERATOR_TOOLSET "CLangCL")
+if (WINDOWS)
+ set(CMAKE_GENERATOR_TOOLSET "CLangCL")
+endif (WINDOWS)
include(00-Common)
include(Linking)
@@ -52,10 +54,6 @@ target_include_directories( llwebrtc INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
if (WINDOWS)
set_property(TARGET llwebrtc PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreadedDebug")
- ADD_CUSTOM_COMMAND(TARGET llwebrtc POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy_if_different
- $<TARGET_FILE:llwebrtc>
- ${SHARED_LIB_STAGING_DIR})
endif (WINDOWS)
ADD_CUSTOM_COMMAND(TARGET llwebrtc POST_BUILD