Disable warning C4324: structure padding
@@ -20,6 +20,10 @@ cmake_minimum_required(VERSION 3.15)
cmake_policy(SET CMP0069 NEW) # LTO support
cmake_policy(SET CMP0091 NEW) # MSVC runtime support
+if(MSVC)
+ add_compile_options("/wd4324") # Disable structure was padded due to alignment specifier
+endif()
+
project(astcencoder VERSION 3.0.0)
set(CMAKE_CXX_STANDARD 14)
