From 287e3fc6be418247f1e35fbfa5bf0109e6990be2 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Wed, 21 Nov 2018 23:19:13 +0100 Subject: CMake: Specifically enable Microsoft bit-field layout for structs (silences warnings in clang / already default for gcc) --- CMakeScripts/DefineDependsandFlags.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeScripts') diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake index 6663036e2..4f17c77cf 100644 --- a/CMakeScripts/DefineDependsandFlags.cmake +++ b/CMakeScripts/DefineDependsandFlags.cmake @@ -39,6 +39,7 @@ if(WIN32) list(APPEND INKSCAPE_LIBS "-lmscms") + list(APPEND INKSCAPE_CXX_FLAGS "-mms-bitfields") list(APPEND INKSCAPE_CXX_FLAGS "-mwindows") list(APPEND INKSCAPE_CXX_FLAGS "-mthreads") -- cgit v1.2.3