Try adding directive in cmake
parent
cc26756196
commit
e18b3c5078
|
@ -88,6 +88,9 @@ if(MSVC)
|
|||
WINDOWS_LEAN_AND_MEAN
|
||||
NOMINMAX
|
||||
)
|
||||
list_append_cache(GTSAM_COMPILE_DEFINITIONS_PUBLIC
|
||||
_ENABLE_EXTENDED_ALIGNED_STORAGE
|
||||
)
|
||||
# Avoid literally hundreds to thousands of warnings:
|
||||
list_append_cache(GTSAM_COMPILE_OPTIONS_PUBLIC
|
||||
/wd4267 # warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
|
||||
|
|
Loading…
Reference in New Issue