From 0cb1413d60dde3b975bf2ce541b17baf0927d8e0 Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Sun, 10 Sep 2023 11:19:08 -0700 Subject: set toolset for llwebrtc --- indra/llwebrtc/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'indra/llwebrtc') 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 + $ + ${SHARED_LIB_STAGING_DIR}) endif (WINDOWS) ADD_CUSTOM_COMMAND(TARGET llwebrtc POST_BUILD -- cgit v1.2.3