mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 23:47:50 +08:00
14 lines
528 B
Diff
14 lines
528 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 95bb132..fbd624d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -237,7 +237,7 @@ if(${BUILD_PROMETHEUS})
|
|
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_PROMETHEUS=1)
|
|
endif()
|
|
|
|
-set(TARGET_COMPILE_FLAGS "${TARGET_COMPILE_FLAGS} ${GOOG_CXX_FLAGS}")
|
|
+set(TARGET_COMPILE_FLAGS "-D_DISABLE_EXTENDED_ALIGNED_STORAGE ${TARGET_COMPILE_FLAGS} ${GOOG_CXX_FLAGS}")
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
|
COMPILE_FLAGS ${TARGET_COMPILE_FLAGS})
|
|
|