diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2018-11-21 22:19:13 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2018-11-21 22:24:25 +0000 |
| commit | 287e3fc6be418247f1e35fbfa5bf0109e6990be2 (patch) | |
| tree | 1eabe0482109ef07a6587b568359e96a81bb392a /CMakeScripts | |
| parent | CMake: Remove popt from dependencies (diff) | |
| download | inkscape-287e3fc6be418247f1e35fbfa5bf0109e6990be2.tar.gz inkscape-287e3fc6be418247f1e35fbfa5bf0109e6990be2.zip | |
CMake: Specifically enable Microsoft bit-field layout for structs
(silences warnings in clang / already default for gcc)
Diffstat (limited to 'CMakeScripts')
| -rw-r--r-- | CMakeScripts/DefineDependsandFlags.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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") |
