def METHOD_NAME(self):
    cmakelists = os.path.join(self.source_folder, "CMakeLists.txt")
    # Use CMake variables from MbedTLSConfig.cmake generated by conan
    replace_in_file(self, cmakelists, "${MBEDTLS_INCLUDE_DIRS}", "${MbedTLS_INCLUDE_DIRS}")
    replace_in_file(self, cmakelists, "${MBEDTLS_LIBRARIES}", "MbedTLS::mbedtls")
    # Do not force PIC
    if Version(self.version) >= "9.5.7":
        replace_in_file(self, cmakelists, "set(CMAKE_POSITION_INDEPENDENT_CODE ON)", "")
    # Allow shared
    if Version(self.version) < "11.1.4":
        replace_in_file(self, cmakelists, "add_library( ixwebsocket STATIC", "add_library( ixwebsocket")
    if Version(self.version) < "9.8.5":
        replace_in_file(self, cmakelists,
                              "ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib",
                              "ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib LIBRARY DESTINATION lib RUNTIME DESTINATION bin")
    elif Version(self.version) < "11.4.3":
        replace_in_file(self, cmakelists,
                              "ARCHIVE DESTINATION lib",
                              "ARCHIVE DESTINATION lib LIBRARY DESTINATION lib RUNTIME DESTINATION bin")
    else:
        replace_in_file(self, cmakelists,
                              "ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}",
                              "ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION bin")