Fix MSVC 2017

Resolves the regression introduced with Async Physics
pull/3016/head
Chris Djali 4 years ago committed by GitHub
parent e5392cabf1
commit 590635906b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -586,6 +586,10 @@ if (WIN32)
set_target_properties(components PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
set_target_properties(osg-ffmpeg-videoplayer PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")
if (MSVC_VERSION GREATER_EQUAL 1915 AND MSVC_VERSION LESS 1920)
target_compile_definitions(components INTERFACE _ENABLE_EXTENDED_ALIGNED_STORAGE)
endif()
if (BUILD_BSATOOL)
set_target_properties(bsatool PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD}")

Loading…
Cancel
Save