diff --git a/CMakeLists.txt b/CMakeLists.txt index 821d49b76..96a80995f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -243,11 +243,11 @@ endif(SUFFIX_SO_VERSION) if(NOT WIN32) target_compile_options( - ${PROJECT_NAME} PRIVATE $<$:-bigobj> + ${PROJECT_NAME} PRIVATE $<$:-bigobj -MP> "-Wno-conversion") else() target_compile_options(${PROJECT_NAME} - PRIVATE $<$:-bigobj>) + PRIVATE $<$:-bigobj -MP>) target_compile_definitions(${PROJECT_NAME} PUBLIC "HAVE_SNPRINTF") endif()