mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
set cmake MSVC runtime lib type regardless of current config, cmake takes care of that for us
This commit is contained in:
parent
bd81939cee
commit
426d121506
@ -183,10 +183,8 @@ local cmake_common_defs = {
|
||||
'CMAKE_BUILD_TYPE=Release',
|
||||
'CMAKE_POSITION_INDEPENDENT_CODE=True',
|
||||
'BUILD_SHARED_LIBS=OFF',
|
||||
'CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded',
|
||||
}
|
||||
if os.target() == 'windows' and string.match(_ACTION, 'vs.+') then
|
||||
table.insert(cmake_common_defs, 'CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded')
|
||||
end
|
||||
|
||||
|
||||
local function cmake_build(dep_folder, is_32, extra_cmd_defs, c_flags_init, cxx_flags_init)
|
||||
|
Loading…
Reference in New Issue
Block a user