diff options
author | Roxie Linden <roxie@lindenlab.com> | 2023-09-10 11:19:08 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-22 23:11:33 -0800 |
commit | 0cb1413d60dde3b975bf2ce541b17baf0927d8e0 (patch) | |
tree | 086ca9c256812a1cb9a8cf0eea859e61a7404fab /indra | |
parent | 007b2127b81168071fe44c1a91961ae75487c0bc (diff) |
set toolset for llwebrtc
Diffstat (limited to 'indra')
-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 |