diff --git a/CMLibCompilerFlags.cmake b/CMLibCompilerFlags.cmake index 9234fe9..e060008 100644 --- a/CMLibCompilerFlags.cmake +++ b/CMLibCompilerFlags.cmake @@ -117,6 +117,7 @@ if(CMAKE_CXX_COMPILER_IS_GCC) endif() if(CMAKE_SYSTEM_PROCESSOR STREQUAL "e2k") + check_enable_cxx_flag(-Wno-invalid-offsetof) add_definitions(-DQT_NO_VERSION_TAGGING) list(APPEND CMAKE_LIBRARY_PATH "/usr/lib/e2k-linux-gnu") endif()