def METHOD_NAME(self):
    if Version(self.version) < "1.0.0":
        simd_flags_file = os.path.join(self.source_folder, "cmake", "simdjson-flags.cmake")
        # Those flags are not set in >=1.0.0 since we disable SIMDJSON_DEVELOPER_MODE
        replace_in_file(self, simd_flags_file, "target_compile_options(simdjson-internal-flags INTERFACE -fPIC)", "")
        replace_in_file(self, simd_flags_file, "-Werror", "")
        replace_in_file(self, simd_flags_file, "/WX", "")
        # Relocatable shared lib on macOS
        replace_in_file(self, simd_flags_file, "set(CMAKE_MACOSX_RPATH OFF)", "")
    else:
        developer_options = os.path.join(self.source_folder, "cmake", "developer-options.cmake")
        # Relocatable shared lib on macOS
        replace_in_file(self, developer_options, "set(CMAKE_MACOSX_RPATH OFF)", "")