mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-09-13 01:23:16 +08:00
Fix Javascript and Windows builds.
1. Updating our javascript decoders reflecting latest changes. 2. Fix windows testing.
This commit is contained in:
parent
a282c3ed5b
commit
931a1de144
14
cmake/msvc_runtime.cmake
Normal file
14
cmake/msvc_runtime.cmake
Normal file
@ -0,0 +1,14 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if (MSVC)
|
||||
# Use statically linked versions of the MS standard libraries.
|
||||
if (NOT "${MSVC_RUNTIME}" STREQUAL "dll")
|
||||
foreach (flag_var
|
||||
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
|
||||
if (${flag_var} MATCHES "/MD")
|
||||
string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
|
||||
endif ()
|
||||
endforeach ()
|
||||
endif ()
|
||||
endif ()
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user