diff options
author | Roxie Linden <roxie@lindenlab.com> | 2023-09-10 11:19:08 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-08 18:34:00 -0800 |
commit | 5e2431f83cdc9f93d6a26f9cb27f1143d8c70c8c (patch) | |
tree | 9e1588cbb84abedde7ce0ce440f64a4a0e951146 /indra/llwebrtc | |
parent | 6bd6107062286194484126129f5f40b7c86808f9 (diff) |
set toolset for llwebrtc
Diffstat (limited to 'indra/llwebrtc')
-rw-r--r-- | indra/llwebrtc/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llwebrtc/CMakeLists.txt b/indra/llwebrtc/CMakeLists.txt index fde4b87a3e..a06e0aaa03 100644 --- a/indra/llwebrtc/CMakeLists.txt +++ b/indra/llwebrtc/CMakeLists.txt @@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) -#set(CMAKE_GENERATOR_TOOLSET "clang-cl") +set(CMAKE_GENERATOR_TOOLSET "CLangCL") include(00-Common) include(Linking) @@ -52,6 +52,10 @@ 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 |